Sdílet prostřednictvím


ServiceDescription.TargetNamespace Vlastnost

Definice

Získá nebo nastaví atribut XML targetNamespace značky descriptions ohraničující soubor 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

Hodnota vlastnosti

Adresa URL webové služby XML, kterou ServiceDescriptionpopisuje .

Příklady

// 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/"

Platí pro