Binding.Type Property

 

Gets or sets a value representing the namespace-qualified name of the PortType with which the Binding is associated.

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

Public Property Type As XmlQualifiedName

Property Value

Type: System.Xml.XmlQualifiedName

An XmlQualifiedName of the PortType with which the Binding is associated.

The default value is an empty string ("").

The following example demonstrates the use of the Type property.

' Pass the name of the existing porttype 'MathServiceSoap' and the Xml targetNamespace attribute of the Descriptions tag.
myBinding.Type = New XmlQualifiedName("MathServiceSoap", myServiceDescription.TargetNamespace)

.NET Framework
Available since 1.1
Return to top
Show: