WebServiceBindingAttribute.Namespace プロパティ
アセンブリ: System.Web.Services (system.web.services.dll 内)

Dim instance As WebServiceBindingAttribute Dim value As String value = instance.Namespace instance.Namespace = value
/** @property */ public String get_Namespace () /** @property */ public void set_Namespace (String value)
バインディングの名前空間。既定値は http://tempuri.org/です。

http://www.contoso.com/MyBinding 名前空間のメンバであり、BindingSample XML Web サービスで定義されている、LocalBindingNonDefaultNamespace という名前のバインディングを指定する例を次に示します。
' Binding is defined in this XML Web service, but it is not a part of the default namespace. <WebServiceBinding(Name := "LocalBindingNonDefaultNamespace", _ Namespace := "http://www.contoso.com/MyBinding")> _ Public Class BindingSample <SoapDocumentMethod(Binding := "LocalBindingNonDefaultNamespace"), _ WebMethod()> _ Public Function LocalBindingNonDefaultNamespaceMethod() As String Return "Member of binding defined in this XML Web service, but a part " & _ "of a different namespace" End Function End Class
// Binding is defined in this XML Web service, but it is not a part of the default namespace. [ WebServiceBinding(Name="LocalBindingNonDefaultNamespace", Namespace="http://www.contoso.com/MyBinding")] public class BindingSample { [ SoapDocumentMethod(Binding="LocalBindingNonDefaultNamespace")] [ WebMethod() ] public string LocalBindingNonDefaultNamespaceMethod() { return "Member of binding defined in this XML Web service, but a part of a different namespace"; } }

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からWebServiceBindingAttribute.Namespace プロパティを検索する場合は、下記のリンクをクリックしてください。

- WebServiceBindingAttribute.Namespace プロパティのページへのリンク