HttpBindingとは? わかりやすく解説

HttpBinding クラス

XML Web サービス内の Binding に追加された機能拡張要素を表します。このクラスは継承できません。

名前空間: System.Web.Services.Description
アセンブリ: System.Web.Services (system.web.services.dll 内)
構文構文

Public NotInheritable Class
 HttpBinding
    Inherits ServiceDescriptionFormatExtension
public sealed class HttpBinding : ServiceDescriptionFormatExtension
public ref class HttpBinding sealed : public
 ServiceDescriptionFormatExtension
public final class HttpBinding extends ServiceDescriptionFormatExtension
public final class HttpBinding extends
 ServiceDescriptionFormatExtension
解説解説
使用例使用例

HttpBinding クラスの一般的な使用例を次に示します。

' Create the 'HttpBinding' object.
Dim myHttpBinding As New
 HttpBinding()

myHttpBinding.Verb = "POST"
' Add the 'HttpBinding' to the 'Binding'.
myBinding.Extensions.Add(myHttpBinding)
// Create the 'HttpBinding' object.
HttpBinding myHttpBinding = new HttpBinding();

myHttpBinding.Verb="POST";
// Add the 'HttpBinding' to the 'Binding'.
myBinding.Extensions.Add(myHttpBinding);
// Create the 'HttpBinding' object.
HttpBinding^ myHttpBinding = gcnew HttpBinding;
myHttpBinding->Verb = "POST";

// Add the 'HttpBinding' to the 'Binding'.
myBinding->Extensions->Add( myHttpBinding );
// Create the 'HttpBinding' object.
HttpBinding myHttpBinding = new HttpBinding();

myHttpBinding.set_Verb("POST");
// Add the 'HttpBinding' to the 'Binding'.
myBinding.get_Extensions().Add(myHttpBinding);
継承階層継承階層
System.Object
   System.Web.Services.Description.ServiceDescriptionFormatExtension
    System.Web.Services.Description.HttpBinding
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
HttpBinding メンバ
System.Web.Services.Description 名前空間

HttpBinding コンストラクタ


HttpBinding フィールド


パブリック フィールドパブリック フィールド

参照参照

関連項目

HttpBinding クラス
System.Web.Services.Description 名前空間

HttpBinding プロパティ


パブリック プロパティパブリック プロパティ

  名前 説明
パブリック プロパティ Handled  機能拡張要素のインポート時に、ServiceDescriptionFormatExtension がインポート プロセスで使用されるかどうかを示す値を取得または設定します。 ( ServiceDescriptionFormatExtension から継承されます。)
パブリック プロパティ Parent  ServiceDescriptionFormatExtension の親を取得します。 ( ServiceDescriptionFormatExtension から継承されます。)
パブリック プロパティ Required  ServiceDescriptionFormatExtension が参照先のアクションに必要かどうかを示す値を取得または設定します。 ( ServiceDescriptionFormatExtension から継承されます。)
パブリック プロパティ Verb HTTP 要求を行うために "GET" メソッドと "POST" メソッドのどちらを使用するかを示す値を取得または設定します。
参照参照

関連項目

HttpBinding クラス
System.Web.Services.Description 名前空間

HttpBinding メソッド


HttpBinding メンバ

XML Web サービス内の Binding に追加された機能拡張要素を表します。このクラスは継承できません。

HttpBinding データ型で公開されるメンバを以下の表に示します。


パブリック コンストラクタパブリック コンストラクタ
  名前 説明
パブリック メソッド HttpBinding  
パブリック フィールドパブリック フィールド
パブリック プロパティパブリック プロパティ
  名前 説明
パブリック プロパティ Handled  機能拡張要素のインポート時に、ServiceDescriptionFormatExtension がインポート プロセスで使用されるかどうかを示す値を取得または設定します。(ServiceDescriptionFormatExtension から継承されます。)
パブリック プロパティ Parent  ServiceDescriptionFormatExtension の親を取得します。(ServiceDescriptionFormatExtension から継承されます。)
パブリック プロパティ Required  ServiceDescriptionFormatExtension が参照先のアクションに必要かどうかを示す値を取得または設定します。(ServiceDescriptionFormatExtension から継承されます。)
パブリック プロパティ Verb HTTP 要求を行うために "GET" メソッドと "POST" メソッドのどちらを使用するかを示す値を取得または設定します。
パブリック メソッドパブリック メソッド
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

HttpBinding クラス
System.Web.Services.Description 名前空間



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

「HttpBinding」の関連用語

HttpBindingのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



HttpBindingのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS