OutputBinding クラス
アセンブリ: System.Web.Services (system.web.services.dll 内)


OutputBinding クラスは、<operation> 要素で囲まれた WSDL (Web Services Description Language) <output> 要素に対応します。さらに、この要素は OperationBinding クラスに対応します。WSDL の詳細については、http://www.w3.org/TR/wsdl/ の仕様を参照してください。

OutputBinding クラスの一般的な使用例を次に示します。
' Used to create OperationBinding instances within 'Binding'. Public Shared Function CreateOperationBinding(operation As String, _ targetNamespace As String) As OperationBinding ' Create OperationBinding for operation. Dim myOperationBinding As New OperationBinding() myOperationBinding.Name = operation ' Create InputBinding for operation. Dim myInputBinding As New InputBinding() Dim mySoapBodyBinding As New SoapBodyBinding() mySoapBodyBinding.Use = SoapBindingUse.Literal myInputBinding.Extensions.Add(mySoapBodyBinding) ' Create OutputBinding for operation. Dim myOutputBinding As New OutputBinding() myOutputBinding.Extensions.Add(mySoapBodyBinding) ' Add InputBinding and OutputBinding to OperationBinding. myOperationBinding.Input = myInputBinding myOperationBinding.Output = myOutputBinding ' Create an extensibility element for SoapOperationBinding. Dim mySoapOperationBinding As New SoapOperationBinding() mySoapOperationBinding.Style = SoapBindingStyle.Document mySoapOperationBinding.SoapAction = targetNamespace & operation ' Add the extensibility element SoapOperationBinding to OperationBinding. myOperationBinding.Extensions.Add(mySoapOperationBinding) Return myOperationBinding End Function 'CreateOperationBinding
// Used to create OperationBinding instances within 'Binding'. public static OperationBinding CreateOperationBinding(string operation, string targetNamespace) { // Create OperationBinding for operation. OperationBinding myOperationBinding = new OperationBinding(); myOperationBinding.Name = operation; // Create InputBinding for operation. InputBinding myInputBinding = new InputBinding(); SoapBodyBinding mySoapBodyBinding = new SoapBodyBinding(); mySoapBodyBinding.Use = SoapBindingUse.Literal; myInputBinding.Extensions.Add(mySoapBodyBinding); // Create OutputBinding for operation. OutputBinding myOutputBinding = new OutputBinding(); myOutputBinding.Extensions.Add(mySoapBodyBinding); // Add InputBinding and OutputBinding to OperationBinding. myOperationBinding.Input = myInputBinding; myOperationBinding.Output = myOutputBinding; // Create an extensibility element for SoapOperationBinding. SoapOperationBinding mySoapOperationBinding = new SoapOperationBinding(); mySoapOperationBinding.Style = SoapBindingStyle.Document; mySoapOperationBinding.SoapAction = targetNamespace + operation; // Add the extensibility element SoapOperationBinding to OperationBinding. myOperationBinding.Extensions.Add(mySoapOperationBinding); return myOperationBinding; }
// Used to create OperationBinding instances within 'Binding'. static OperationBinding^ CreateOperationBinding( String^ operation, String^ targetNamespace ) { // Create OperationBinding for operation. OperationBinding^ myOperationBinding = gcnew OperationBinding; myOperationBinding->Name = operation; // Create InputBinding for operation. InputBinding^ myInputBinding = gcnew InputBinding; SoapBodyBinding^ mySoapBodyBinding = gcnew SoapBodyBinding; mySoapBodyBinding->Use = SoapBindingUse::Literal; myInputBinding->Extensions->Add( mySoapBodyBinding ); // Create OutputBinding for operation. OutputBinding^ myOutputBinding = gcnew OutputBinding; myOutputBinding->Extensions->Add( mySoapBodyBinding ); // Add InputBinding and OutputBinding to OperationBinding. myOperationBinding->Input = myInputBinding; myOperationBinding->Output = myOutputBinding; // Create an extensibility element for SoapOperationBinding. SoapOperationBinding^ mySoapOperationBinding = gcnew SoapOperationBinding; mySoapOperationBinding->Style = SoapBindingStyle::Document; mySoapOperationBinding->SoapAction = String::Concat( targetNamespace, operation ); // Add the extensibility element SoapOperationBinding to OperationBinding. myOperationBinding->Extensions->Add( mySoapOperationBinding ); return myOperationBinding; }

System.Web.Services.Description.DocumentableItem
System.Web.Services.Description.NamedItem
System.Web.Services.Description.MessageBinding
System.Web.Services.Description.OutputBinding


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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


OutputBinding コンストラクタ
アセンブリ: System.Web.Services (system.web.services.dll 内)


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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


OutputBinding プロパティ

名前 | 説明 | |
---|---|---|
![]() | Documentation | DocumentableItem のインスタンスのテキスト ドキュメントを取得または設定します。 ( DocumentableItem から継承されます。) |
![]() | DocumentationElement | DocumentableItem のドキュメント要素を取得または設定します。 ( DocumentableItem から継承されます。) |
![]() | ExtensibleAttributes | Web Services Interoperability (WS-I) Basic Profile 1.1 に準拠する WSDL の属性の拡張機能を表す XmlAttribute 型の配列を取得または設定します。 ( DocumentableItem から継承されます。) |
![]() | Extensions | オーバーライドされます。 現在の OutputBinding に関連付けられている機能拡張要素のコレクションを取得します。 |
![]() | Name | 項目の名前を取得または設定します。 ( NamedItem から継承されます。) |
![]() | Namespaces | ServiceDescription オブジェクトが生成されるときに名前空間プレフィックスと名前空間を保持するために使用する、名前空間プレフィックスと名前空間のディクショナリを取得または設定します。 ( DocumentableItem から継承されます。) |
![]() | OperationBinding | 現在の MessageBinding がメンバとして含まれている OperationBinding を取得します。 ( MessageBinding から継承されます。) |

OutputBinding メソッド

名前 | 説明 | |
---|---|---|
![]() | Equals | オーバーロードされます。 2 つの Object インスタンスが等しいかどうかを判断します。 ( Object から継承されます。) |
![]() | GetHashCode | 特定の型のハッシュ関数として機能します。GetHashCode は、ハッシュ アルゴリズムや、ハッシュ テーブルのようなデータ構造での使用に適しています。 ( Object から継承されます。) |
![]() | GetType | 現在のインスタンスの Type を取得します。 ( Object から継承されます。) |
![]() | ReferenceEquals | 指定した複数の Object インスタンスが同一かどうかを判断します。 ( Object から継承されます。) |
![]() | ToString | 現在の Object を表す String を返します。 ( Object から継承されます。) |

名前 | 説明 | |
---|---|---|
![]() | Finalize | Object がガベージ コレクションにより収集される前に、その Object がリソースを解放し、その他のクリーンアップ操作を実行できるようにします。 ( Object から継承されます。) |
![]() | MemberwiseClone | 現在の Object の簡易コピーを作成します。 ( Object から継承されます。) |

OutputBinding メンバ
XML Web サービスで使用する、出力メッセージのデータ形式とプロトコルの仕様のセットを提供します。このクラスは継承できません。
OutputBinding データ型で公開されるメンバを以下の表に示します。

名前 | 説明 | |
---|---|---|
![]() | OutputBinding |

名前 | 説明 | |
---|---|---|
![]() | Documentation | DocumentableItem のインスタンスのテキスト ドキュメントを取得または設定します。(DocumentableItem から継承されます。) |
![]() | DocumentationElement | DocumentableItem のドキュメント要素を取得または設定します。(DocumentableItem から継承されます。) |
![]() | ExtensibleAttributes | Web Services Interoperability (WS-I) Basic Profile 1.1 に準拠する WSDL の属性の拡張機能を表す XmlAttribute 型の配列を取得または設定します。(DocumentableItem から継承されます。) |
![]() | Extensions | オーバーライドされます。 現在の OutputBinding に関連付けられている機能拡張要素のコレクションを取得します。 |
![]() | Name | 項目の名前を取得または設定します。(NamedItem から継承されます。) |
![]() | Namespaces | ServiceDescription オブジェクトが生成されるときに名前空間プレフィックスと名前空間を保持するために使用する、名前空間プレフィックスと名前空間のディクショナリを取得または設定します。(DocumentableItem から継承されます。) |
![]() | OperationBinding | 現在の MessageBinding がメンバとして含まれている OperationBinding を取得します。(MessageBinding から継承されます。) |

名前 | 説明 | |
---|---|---|
![]() | Equals | オーバーロードされます。 2 つの Object インスタンスが等しいかどうかを判断します。 (Object から継承されます。) |
![]() | GetHashCode | 特定の型のハッシュ関数として機能します。GetHashCode は、ハッシュ アルゴリズムや、ハッシュ テーブルのようなデータ構造での使用に適しています。 (Object から継承されます。) |
![]() | GetType | 現在のインスタンスの Type を取得します。 (Object から継承されます。) |
![]() | ReferenceEquals | 指定した複数の Object インスタンスが同一かどうかを判断します。 (Object から継承されます。) |
![]() | ToString | 現在の Object を表す String を返します。 (Object から継承されます。) |

名前 | 説明 | |
---|---|---|
![]() | Finalize | Object がガベージ コレクションにより収集される前に、その Object がリソースを解放し、その他のクリーンアップ操作を実行できるようにします。 (Object から継承されます。) |
![]() | MemberwiseClone | 現在の Object の簡易コピーを作成します。 (Object から継承されます。) |

Weblioに収録されているすべての辞書からOutputBindingを検索する場合は、下記のリンクをクリックしてください。

- OutputBindingのページへのリンク