ServiceDescription::TargetNamespace Property

 

Gets or sets the XML targetNamespace attribute of the descriptions tag enclosing a Web Services Description Language (WSDL) file.

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

public:
property String^ TargetNamespace {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

The URL of the XML Web service described by the ServiceDescription.

// Read a ServiceDescription from existing WSDL.
ServiceDescription^ myServiceDescription = ServiceDescription::Read( "Input_CS.wsdl" );
myServiceDescription->TargetNamespace = "http://tempuri.org/";

.NET Framework
Available since 1.1
Return to top
Show: