WebHttpBinding.Security プロパティ

定義

このバインディングで使用されるセキュリティ設定を取得します。

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

プロパティ値

WebHttpSecurity

このバインディングで使用される WebHttpSecurity。 既定値は None です。

注釈

既定以外の種類のセキュリティを使用するには、WebHttpBinding(WebHttpSecurityMode) コンストラクターを使用します。

注意

このプロパティを TransportCredentialOnly に設定し、HTTP を使用している場合は、プレーンテキストによる資格情報がネットワーク経由で送信されます。

適用対象