Share via


WorkflowServiceAttributes.Namespace Proprietà

Definizione

Ottiene o imposta il valore dello spazio dei nomi di destinazione per il servizio in WSDL (Web Services Description Language).

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

Valore della proprietà

String

Valore della proprietà Namespace.

Esempio

Nell'esempio seguente viene illustrato come accedere alla proprietà Namespace.

WorkflowServiceAttributes attributes = new WorkflowServiceAttributes();
attributes.Namespace = "Microsoft.Samples.WorkflowServices.SampleCode";
Dim attributes As New WorkflowServiceAttributes()
attributes.Namespace = "Microsoft.Samples.WorkflowServices.SampleCode"

Commenti

Questo valore corrisponde al valore dell'attributo per l'elemento targetNamespace contenente l'elemento <wsdl:service> <wsdl:definitions> quando esportato. Il valore predefinito è null.

Si applica a