ServiceMetadataBehavior.HttpGetBinding プロパティ

定義

トランスポートが HTTP の場合に、メタデータの取得を構成するために使用するバインディングを取得または設定します。

public:
 property System::ServiceModel::Channels::Binding ^ HttpGetBinding { System::ServiceModel::Channels::Binding ^ get(); void set(System::ServiceModel::Channels::Binding ^ value); };
public System.ServiceModel.Channels.Binding HttpGetBinding { get; set; }
member this.HttpGetBinding : System.ServiceModel.Channels.Binding with get, set
Public Property HttpGetBinding As Binding

プロパティ値

Binding

HTTP プロトコルを使用してメタデータを取得するために使用できる Binding

注釈

以前のバージョンの WCF では、Web ブラウザーからサービス ヘルプ ページにアクセスするために、HTTP GET を使用してメタデータを取得していました。 HttpTransportBindingElement だけがサポートされていました。 HTTPS GET を使用してメタデータを取得する場合は、HttpsTransportBindingElement だけがサポートされていました。 HttpGetBinding プロパティと HttpsGetBinding プロパティを使用すると、HTTP GET (または HTTPS GET) を使用してメタデータを取得するバインディングと、プログラムまたは構成ファイルを使用して構成できるサービス Web ページへのアクセスに使用するバインディングを有効にできます。

ヘルプ ページの取得の詳細については、プロパティとHttpsHelpPageBindingプロパティをHttpHelpPageBinding使用してください。

適用対象