次の方法で共有


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

既定値セットは、NoneClientCredentialTypeNoneProxyCredentialTypeRealm = "" です。

注釈

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

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

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

適用対象