Partage via


Port.Binding Propriété

Définition

Obtient ou définit la valeur de l'attribut XML <binding> de 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

Valeur de propriété

XmlQualifiedName

Valeur de la liaison XML.

Exemples

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

Remarques

Une liaison définit le format de message et les détails du protocole pour les opérations et les messages d’un PortType. Cette propriété obtient ou définit ces valeurs pour un spécifique Port.

S’applique à