HttpAddressBinding クラス
アセンブリ: System.Web.Services (system.web.services.dll 内)
構文
このクラスは、Location プロパティを使って XML Web サービスの基本 URI を指定します。XML Web サービスの詳細については、「ASP.NET を使用した XML Web サービス」を参照してください。WSDL (Web Services Description Language) の詳細については、http://www.w3.org/TR/wsdl/ の仕様を参照してください。
' Create the 'HttpAddressBinding' object. Dim postAddressBinding As New HttpAddressBinding() postAddressBinding.Location = "http://localhost/Service1.asmx" ' Add the 'HttpAddressBinding' to the 'Port'. postPort.Extensions.Add(postAddressBinding)
// Create the 'HttpAddressBinding' object. HttpAddressBinding postAddressBinding = new HttpAddressBinding(); postAddressBinding.Location = "http://localhost/Service1.asmx"; // Add the 'HttpAddressBinding' to the 'Port'. postPort.Extensions.Add(postAddressBinding);
System.Web.Services.Description.ServiceDescriptionFormatExtension
System.Web.Services.Description.HttpAddressBinding
プラットフォーム
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
参照
- HttpAddressBinding クラスのページへのリンク