WebHttpSecurityElement.Transport プロパティ

定義

HTTP 要求を受信するように構成されたサービス エンドポイントのトランスポート レベルのセキュリティ設定を示す XML 要素を取得します。

public:
 property System::ServiceModel::Configuration::HttpTransportSecurityElement ^ Transport { System::ServiceModel::Configuration::HttpTransportSecurityElement ^ get(); };
[System.Configuration.ConfigurationProperty("transport")]
public System.ServiceModel.Configuration.HttpTransportSecurityElement Transport { get; }
[<System.Configuration.ConfigurationProperty("transport")>]
member this.Transport : System.ServiceModel.Configuration.HttpTransportSecurityElement
Public ReadOnly Property Transport As HttpTransportSecurityElement

プロパティ値

トランスポート レベルのセキュリティ設定を指定する WebHttpSecurityElement。 既定値の設定は、ClientCredentialTypeNoneProxyCredentialTypeNone、および Realm = "" です。

属性

注釈

このプロパティによって返される WebHttpSecurityElement オブジェクトを使用して、トランスポート セキュリティのパラメーターを設定します。 WebHttpSecurityMode は、Transport プロパティで指定される設定に対して TransportCredentialOnly または Transport 値に設定して、サービス エンドポイントで有効にする必要があります。 この値は、構成または WebHttpBinding(WebHttpSecurityMode) コンストラクターで設定できます。

適用対象