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

Dim instance As WebServiceBindingAttribute Dim value As String value = instance.Name instance.Name = value
バインディングの名前。既定値は、"Soap" が追加された XML Web サービスの名前です。

BindingSample XML Web サービスで定義されている LocalBinding という名前のバインディングを指定する例を次に示します。
' Binding is defined in this XML Web service and uses the default namespace. <WebServiceBinding(Name := "LocalBinding")> _ Public Class BindingSample <SoapDocumentMethod(Binding := "LocalBinding"), WebMethod()> _ Public Function LocalBindingMethod() As String Return "Member of binding defined in this XML Web service and member of the default namespace" End Function 'LocalBindingMethod End Class
// Binding is defined in this XML Web service and uses the default namespace. [ WebServiceBinding(Name="LocalBinding")] public class BindingSample { [ SoapDocumentMethod(Binding="LocalBinding")] [ WebMethod() ] public string LocalBindingMethod() { return "Member of binding defined in this XML Web service and member of the default 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.Name プロパティを検索する場合は、下記のリンクをクリックしてください。

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