Port::Binding Property

 

Gets or sets the value of the XML <binding> attribute of the Port.

Namespace:   System.Web.Services.Description
Assembly:  System.Web.Services (in System.Web.Services.dll)

public:
property XmlQualifiedName^ Binding {
	XmlQualifiedName^ get();
	void set(XmlQualifiedName^ value);
}

Property Value

Type: System.Xml::XmlQualifiedName^

The value of the XML binding.

A binding defines message format and protocol details for operations and messages for a PortType. This property gets or sets those values for a specific Port.

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

.NET Framework
Available since 1.1
Return to top
Show: