HttpBinding::Namespace Field
.NET Framework (current version)
Specifies the URI for the XML namespace representing the HTTP transport for use with SOAP. This field is constant.
Assembly: System.Web.Services (in System.Web.Services.dll)
The field value is "http://schemas.xmlsoap.org/wsdl/http/".
The following example demonstrates a typical use of the Namespace field.
// Create 'Binding' object. Binding^ myBinding = gcnew Binding; myBinding->Name = "MyHttpBindingServiceHttpPost"; XmlQualifiedName^ qualifiedName = gcnew XmlQualifiedName( "s0:MyHttpBindingServiceHttpPost" ); myBinding->Type = qualifiedName; // Create 'HttpBinding' object. HttpBinding^ myHttpBinding = gcnew HttpBinding; myHttpBinding->Verb = "POST"; Console::WriteLine( "HttpBinding Namespace : {0}", HttpBinding::Namespace );
.NET Framework
Available since 1.1
Available since 1.1
Show: