WebHttpSecurity.Transport プロパティ

定義

このバインディングのトランスポート レベルのセキュリティ設定を格納するオブジェクトを取得します。

public:
 property System::ServiceModel::HttpTransportSecurity ^ Transport { System::ServiceModel::HttpTransportSecurity ^ get(); };
public:
 property System::ServiceModel::HttpTransportSecurity ^ Transport { System::ServiceModel::HttpTransportSecurity ^ get(); void set(System::ServiceModel::HttpTransportSecurity ^ value); };
public System.ServiceModel.HttpTransportSecurity Transport { get; }
public System.ServiceModel.HttpTransportSecurity Transport { get; set; }
member this.Transport : System.ServiceModel.HttpTransportSecurity
member this.Transport : System.ServiceModel.HttpTransportSecurity with get, set
Public ReadOnly Property Transport As HttpTransportSecurity
Public Property Transport As HttpTransportSecurity

プロパティ値

このバインディングの HttpTransportSecurity

既定値の設定は、ClientCredentialTypeNoneProxyCredentialTypeNone、および Realm = "" です。

注釈

このプロパティによって返される HttpTransportSecurity オブジェクトを使用して、WebHttpBinding のトランスポート セキュリティのパラメーターを設定します。

Transport 値または TransportCredentialOnly 値が WebHttpBinding(WebHttpSecurityMode) メソッドによって指定される場合、Transport プロパティによって指定される設定は、そのサービス エンドポイントで有効になります。

TransportCredentialOnly 値が WebHttpBinding(WebHttpSecurityMode) メソッドによって指定される場合、Transport プロパティによって指定される設定は、そのサービス エンドポイントで有効になります。 WebHttpSecurityMode の値は、これを明示的なパラメーターとする WebHttpBinding コンストラクターにのみ設定されます。その値はバインディング インスタンスが作成された後は再び設定できません。

適用対象