SoapBindingStyle 列挙型
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
この列挙型を適用するクラス階層のレベルで XML Web サービスで発生するアクションの種類を指定します。
public enum class SoapBindingStyle
public enum SoapBindingStyle
type SoapBindingStyle =
Public Enum SoapBindingStyle
- 継承
フィールド
| 名前 | 値 | 説明 |
|---|---|---|
| Default | 0 | Web サービス記述言語 (WSDL) ファイルの現在の階層レベルのアクションの既定の種類。 |
| Document | 1 | 送信されるメッセージはドキュメント指向です。 |
| Rpc | 2 | 送信されるメッセージには、プロシージャを呼び出すパラメーター、またはそのプロシージャからの戻り値が含まれています。 RPC は、"リモート プロシージャ コール" の頭字語です。 |
例
SoapBinding^ mySoapBinding = gcnew 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);
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)
注釈
この列挙により、ユーザーは、送信されるメッセージがプロシージャ指向かドキュメント指向かを指定できます。 プロシージャ指向のメッセージにはパラメーターと戻り値が含まれますが、ドキュメント指向のメッセージにはドキュメントが含まれます。