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 Binding As XmlQualifiedName

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.
Dim postPort As New Port()
postPort.Name = "PortServiceHttpPost"
postPort.Binding = New XmlQualifiedName("s0:PortServiceHttpPost")

.NET Framework
Available since 1.1
Return to top
Show: