Binding Class
.NET Framework 3.0
Specifies the concrete data format and protocols used in the XML Web service. This class cannot be inherited.
Namespace: System.Web.Services.Description
Assembly: System.Web.Services (in system.web.services.dll)
Assembly: System.Web.Services (in system.web.services.dll)
The following example demonstrates a typical use of the Binding class.
// Get Binding Name = S"MathServiceSoap". myBinding = myServiceDescription->Bindings[ "MathServiceHttpGet" ]; if ( myBinding != nullptr ) { Console::WriteLine( "\n\nName : {0}", myBinding->Name ); Console::WriteLine( "Type : {0}", myBinding->Type ); }
// Get Binding Name = "MathServiceSoap".
myBinding = myServiceDescription.get_Bindings().
get_Item("MathServiceHttpGet");
if (myBinding != null) {
Console.WriteLine("\n\nName : " + myBinding.get_Name());
Console.WriteLine("Type : " + myBinding.get_Type());
}
System.Object
System.Web.Services.Description.DocumentableItem
System.Web.Services.Description.NamedItem
System.Web.Services.Description.Binding
System.Web.Services.Description.DocumentableItem
System.Web.Services.Description.NamedItem
System.Web.Services.Description.Binding
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: