WebServiceEndpoint.Security プロパティ

定義

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

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

プロパティ値

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

注釈

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

Note

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

適用対象