Udostępnij za pośrednictwem


ServiceDescription.TargetNamespace Właściwość

Definicja

Pobiera lub ustawia atrybut XML targetNamespace tagu descriptions otaczającego plik WSDL (Web Services Description Language).

public:
 property System::String ^ TargetNamespace { System::String ^ get(); void set(System::String ^ value); };
public string TargetNamespace { get; set; }
member this.TargetNamespace : string with get, set
Public Property TargetNamespace As String

Wartość właściwości

String

Adres URL usługi sieci Web XML opisanej przez element ServiceDescription.

Przykłady

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

Dotyczy