Binding.Type Property
.NET Framework 2.0
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)
Assembly: System.Web.Services (in system.web.services.dll)
public: property XmlQualifiedName^ Type { XmlQualifiedName^ get (); void set (XmlQualifiedName^ value); }
/** @property */ public XmlQualifiedName get_Type () /** @property */ public void set_Type (XmlQualifiedName value)
public function get Type () : XmlQualifiedName public function set Type (value : XmlQualifiedName)
Not applicable.
Property Value
An XmlQualifiedName.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 = gcnew XmlQualifiedName( "MathServiceSoap",myServiceDescription->TargetNamespace );
// Pass the name of the existing porttype 'MathServiceSoap' and
// the Xml targetNamespace attribute of the Descriptions tag.
myBinding.set_Type(new XmlQualifiedName("MathServiceSoap",
myServiceDescription.get_TargetNamespace()));
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.Community Additions
ADD
Show: