WebHttpBinding.Security Vlastnost

Definice

Získá nastavení zabezpečení používané s touto vazbou.

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

Hodnota vlastnosti

Používá WebHttpSecurity se s touto vazbou. Výchozí hodnota je None.

Poznámky

Pokud chcete použít jiný než výchozí typ zabezpečení, použijte WebHttpBinding(WebHttpSecurityMode) konstruktor.

Note

Pokud tuto vlastnost nastavíte a TransportCredentialOnly používáte HTTP, mějte na paměti, že přihlašovací údaje se posílají přes drát ve formátu prostého textu.

Platí pro