SoapBinding.Style プロパティ
アセンブリ: System.Web.Services (system.web.services.dll 内)
構文Dim instance As SoapBinding Dim value As SoapBindingStyle value = instance.Style instance.Style = value
public: property SoapBindingStyle Style { SoapBindingStyle get (); void set (SoapBindingStyle value); }
/** @property */ public SoapBindingStyle get_Style () /** @property */ public void set_Style (SoapBindingStyle value)
public function get Style () : SoapBindingStyle public function set Style (value : SoapBindingStyle)
SoapBindingStyle 値の 1 つ。既定値は Document です。
使用例Dim mySoapBinding As New SoapBinding() mySoapBinding.Transport = "http://schemas.xmlsoap.org/soap/http" mySoapBinding.Style = SoapBindingStyle.Document ' Add the 'SoapBinding' object to the 'Binding' object. myBinding.Extensions.Add(mySoapBinding)
SoapBinding mySoapBinding = new SoapBinding(); mySoapBinding.Transport = "http://schemas.xmlsoap.org/soap/http"; mySoapBinding.Style = SoapBindingStyle.Document; // Add the 'SoapBinding' object to the 'Binding' object. myBinding.Extensions.Add(mySoapBinding);
プラットフォーム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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
参照SoapBindingStyle 列挙体
アセンブリ: System.Web.Services (system.web.services.dll 内)
構文Public Enumeration SoapBindingStyle
メンバ| メンバ名 | 説明 | |
|---|---|---|
| Default | アクションの既定の種類。WSDL (Web Services Description Language) ファイルの現在の階層レベルに対応します。 | |
| Document | 送信されているメッセージはドキュメント指向です。 | |
| Rpc | 送信されているメッセージには、プロシージャ呼び出しのためのパラメータまたはそのプロシージャからの戻り値が含まれます。RPC は "リモート プロシージャ コール" の略語です。 |
解説この列挙体を使用すると、送信されたメッセージがプロシージャ指向とドキュメント指向のどちらであるかを指定できます。プロシージャ指向のメッセージにはパラメータと戻り値が含まれ、ドキュメント指向のメッセージにはドキュメントが含まれます。
使用例Dim mySoapBinding As New SoapBinding() mySoapBinding.Transport = "http://schemas.xmlsoap.org/soap/http" mySoapBinding.Style = SoapBindingStyle.Document ' Add the 'SoapBinding' object to the 'Binding' object. myBinding.Extensions.Add(mySoapBinding)
SoapBinding mySoapBinding = new SoapBinding(); mySoapBinding.Transport = "http://schemas.xmlsoap.org/soap/http"; mySoapBinding.Style = SoapBindingStyle.Document; // Add the 'SoapBinding' object to the 'Binding' object. myBinding.Extensions.Add(mySoapBinding);
プラットフォーム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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
参照- SoapBindingStyleのページへのリンク