ServiceDescription.TargetNamespace Propriedade

Definição

Obtém ou define o atributo XML targetNamespace da marca descriptions fechando um arquivo de linguagem WSDL.

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

Valor da propriedade

String

A URL do serviço Web XML descrito pelo ServiceDescription.

Exemplos

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

Aplica-se a