HttpBinding クラス

定義

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

public ref class HttpBinding sealed : System::Web::Services::Description::ServiceDescriptionFormatExtension
[System.Web.Services.Configuration.XmlFormatExtension("binding", "http://schemas.xmlsoap.org/wsdl/http/", typeof(System.Web.Services.Description.Binding))]
[System.Web.Services.Configuration.XmlFormatExtensionPrefix("http", "http://schemas.xmlsoap.org/wsdl/http/")]
public sealed class HttpBinding : System.Web.Services.Description.ServiceDescriptionFormatExtension
[<System.Web.Services.Configuration.XmlFormatExtension("binding", "http://schemas.xmlsoap.org/wsdl/http/", typeof(System.Web.Services.Description.Binding))>]
[<System.Web.Services.Configuration.XmlFormatExtensionPrefix("http", "http://schemas.xmlsoap.org/wsdl/http/")>]
type HttpBinding = class
    inherit ServiceDescriptionFormatExtension
Public NotInheritable Class HttpBinding
Inherits ServiceDescriptionFormatExtension
継承
属性

次の例は、 クラスの一般的な使用方法を HttpBinding 示しています。

// 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.Verb="POST";
// Add the 'HttpBinding' to the 'Binding'.
myBinding.Extensions.Add(myHttpBinding);
' Create the 'HttpBinding' object.
Dim myHttpBinding As New HttpBinding()

myHttpBinding.Verb = "POST"
' Add the 'HttpBinding' to the 'Binding'.
myBinding.Extensions.Add(myHttpBinding)

注釈

このクラスを拡張要素として使用すると、情報を HTTP で渡すことが指定されます。 XML Web サービスのプロトコルの仕様の詳細については、「 ASP.NET を使用した XML Web サービス」を参照してください。 Web サービス記述言語 (WSDL) の詳細については、 WSDL 仕様を参照してください。

コンストラクター

HttpBinding()

HttpBinding クラスの新しいインスタンスを初期化します。

フィールド

Namespace

SOAP で使用する HTTP 伝送を表す XML 名前空間の URI を指定します。 このフィールドは定数です。

プロパティ

Handled

機能拡張要素のインポート時に、ServiceDescriptionFormatExtension がインポート プロセスで使用されるかどうかを示す値を取得または設定します。

(継承元 ServiceDescriptionFormatExtension)
Parent

ServiceDescriptionFormatExtension の親を取得します。

(継承元 ServiceDescriptionFormatExtension)
Required

ServiceDescriptionFormatExtension が参照先のアクションに必要かどうかを示す値を取得または設定します。

(継承元 ServiceDescriptionFormatExtension)
Verb

HTTP 要求を行うために "GET" メソッドと "POST" メソッドのどちらを使用するかを示す値を取得または設定します。

メソッド

Equals(Object)

指定されたオブジェクトが現在のオブジェクトと等しいかどうかを判断します。

(継承元 Object)
GetHashCode()

既定のハッシュ関数として機能します。

(継承元 Object)
GetType()

現在のインスタンスの Type を取得します。

(継承元 Object)
MemberwiseClone()

現在の Object の簡易コピーを作成します。

(継承元 Object)
ToString()

現在のオブジェクトを表す文字列を返します。

(継承元 Object)

適用対象