Port.Binding Właściwość

Definicja

Pobiera lub ustawia wartość atrybutu XML <binding> elementu Port.

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

Wartość właściwości

Wartość powiązania XML.

Przykłady

// 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")

Uwagi

Powiązanie definiuje format komunikatu i szczegóły protokołu dla operacji i komunikatów dla elementu PortType. Ta właściwość pobiera lub ustawia te wartości dla określonego Portelementu .

Dotyczy