編輯

共用方式為


WorkflowServiceAttributes.Namespace Property

Definition

Gets or sets the value of the target namespace for the service in Web Services Description Language (WSDL).

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

Property Value

The value of the Namespace property.

Examples

The following example demonstrates how to access the Namespace property.

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

Remarks

This value corresponds to the value of the targetNamespace attribute for the <wsdl:definitions> element that contains the <wsdl:service> element when exported. The default value is null.

Applies to