HttpBinding Class
.NET Framework 3.0
Represents an extensibility element added to a Binding within an 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 use of this class as an extensibility element specifies that information is to be passed by HTTP. For more information about specification of protocols for XML Web services, see XML Web Services Using ASP.NET. For more information about Web Services Description Language (WSDL), see the specification at http://www.w3.org/TR/wsdl/.
The following example shows a typical usage of the HttpBinding class.
// Create the 'HttpBinding' object. HttpBinding^ myHttpBinding = gcnew HttpBinding; myHttpBinding->Verb = "POST"; // Add the 'HttpBinding' to the 'Binding'. myBinding->Extensions->Add( myHttpBinding );
// Create the 'HttpBinding' object.
HttpBinding myHttpBinding = new HttpBinding();
myHttpBinding.set_Verb("POST");
// Add the 'HttpBinding' to the 'Binding'.
myBinding.get_Extensions().Add(myHttpBinding);
System.Object
System.Web.Services.Description.ServiceDescriptionFormatExtension
System.Web.Services.Description.HttpBinding
System.Web.Services.Description.ServiceDescriptionFormatExtension
System.Web.Services.Description.HttpBinding
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: