Port.Binding 属性

定义

获取或设置 Port 的 XML <binding> 特性的值。

public:
 property System::Xml::XmlQualifiedName ^ Binding { System::Xml::XmlQualifiedName ^ get(); void set(System::Xml::XmlQualifiedName ^ value); };
public System.Xml.XmlQualifiedName Binding { get; set; }
member this.Binding : System.Xml.XmlQualifiedName with get, set
Public Property Binding As XmlQualifiedName

属性值

XmlQualifiedName

XML 绑定的值。

示例

// Create a Port.
Port^ postPort = gcnew Port;
postPort->Name = "PortServiceHttpPost";
postPort->Binding = gcnew XmlQualifiedName( "s0:PortServiceHttpPost" );
// Create a Port.
Port postPort = new Port();
postPort.Name = "PortServiceHttpPost";
postPort.Binding = new XmlQualifiedName("s0:PortServiceHttpPost");

' Create a Port.
Dim postPort As New Port()
postPort.Name = "PortServiceHttpPost"
postPort.Binding = New XmlQualifiedName("s0:PortServiceHttpPost")

注解

绑定定义操作和消息的消息 PortType格式和协议详细信息。 此属性获取或设置特定 Port值的这些值。

适用于