ServiceBehaviorAttribute.Namespace Property


取得或設定 Web 服務描述語言 (WSDL) 中服務的目標命名空間值。Gets or sets the value of the target namespace for the service in Web Services Description Language (WSDL).

 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


targetNamespace 項目的 <wsdl:definitions> 屬性值,其中包含 <wsdl:service> 項目。The value of the targetNamespace attribute for the <wsdl:definitions> element that contains the <wsdl:service> element.

Applies to