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 名前空間



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「HttpBinding」の関連用語

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

   

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



HttpBindingのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS