SoapBinding.Namespace Field


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the URI for the XML namespace of the SoapBinding class. This field is constant.

Namespace:   System.Web.Services.Description
Assembly:  System.Web.Services (in System.Web.Services.dll)

public const string Namespace

Field Value

Type: System.String

The field value is "".

SoapBinding mySoapBinding = new SoapBinding();
mySoapBinding.Transport = "";
mySoapBinding.Style = SoapBindingStyle.Document;
// Get the URI for XML namespace of the SoapBinding class.
String myNameSpace = SoapBinding.Namespace;
Console.WriteLine("The URI of the XML Namespace is :"+myNameSpace);

.NET Framework
Available since 1.1
Return to top