HttpAddressBinding Class
.NET Framework 2.0
Represents an extensibility element added to a Port 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)
This class, through its Location property, specifies the base URI for the XML Web service. For more information about 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/.
// Create the 'HttpAddressBinding' object. HttpAddressBinding^ postAddressBinding = gcnew HttpAddressBinding; postAddressBinding->Location = "http://localhost/Service1.asmx"; // Add the 'HttpAddressBinding' to the 'Port'. postPort->Extensions->Add( postAddressBinding );
// Create the 'HttpAddressBinding' object.
HttpAddressBinding postAddressBinding = new HttpAddressBinding();
postAddressBinding.set_Location("http://localhost/Service1.asmx");
// Add the 'HttpAddressBinding' to the 'Port'.
postPort.get_Extensions().Add(postAddressBinding);
System.Object
System.Web.Services.Description.ServiceDescriptionFormatExtension
System.Web.Services.Description.HttpAddressBinding
System.Web.Services.Description.ServiceDescriptionFormatExtension
System.Web.Services.Description.HttpAddressBinding
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: