WebServiceBindingAttribute.Location プロパティ
アセンブリ: System.Web.Services (system.web.services.dll 内)
構文Dim instance As WebServiceBindingAttribute Dim value As String value = instance.Location instance.Location = value
/** @property */ public String get_Location () /** @property */ public void set_Location (String value)
バインディングが定義されている場所。既定値は、属性が適用される XML Web サービスの URL です。
使用例http://www.contoso.com/MyBinding 名前空間のメンバであり、http://www.contoso.com/MyService.asmx?wsdl で定義されている、RemoteBinding という名前のバインディングを指定する例を次に示します。
' Binding is defined on a remote server, but this XML Web service implements at ' least one operation in that binding. <WebServiceBinding(Name := "RemoteBinding", _ Namespace := "http://www.contoso.com/MyBinding", _ Location := "http://www.contoso.com/MyService.asmx?wsdl")> _ Public Class BindingSample <SoapDocumentMethod(Binding := "RemoteBinding"), WebMethod()> _ Public Function RemoteBindingMethod() As String Return "Member of a binding defined on another server" End Function End Class
// Binding is defined on a remote server, but this XML Web service // implements at least one operation in that binding. [ WebServiceBinding(Name="RemoteBinding", Namespace="http://www.contoso.com/MyBinding", Location="http://www.contoso.com/MyService.asmx?wsdl")] public class BindingSample { [ SoapDocumentMethod(Binding="RemoteBinding")] [ WebMethod() ] public string RemoteBindingMethod() { return "Member of a binding defined on another server"; } }
プラットフォーム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.Location プロパティを検索する場合は、下記のリンクをクリックしてください。
全ての辞書からWebServiceBindingAttribute.Location プロパティ
を検索
- WebServiceBindingAttribute.Location プロパティのページへのリンク