WebHttpBindingElement.Security Свойство

Определение

Возвращает элемент конфигурации, содержащий параметры безопасности, используемые для данной привязки.

public:
 property System::ServiceModel::Configuration::WebHttpSecurityElement ^ Security { System::ServiceModel::Configuration::WebHttpSecurityElement ^ get(); };
[System.Configuration.ConfigurationProperty("security")]
public System.ServiceModel.Configuration.WebHttpSecurityElement Security { get; }
[<System.Configuration.ConfigurationProperty("security")>]
member this.Security : System.ServiceModel.Configuration.WebHttpSecurityElement
Public ReadOnly Property Security As WebHttpSecurityElement

Значение свойства

WebHttpSecurityElement

Объект WebHttpSecurityElement, используемый с этой привязкой. Значение по умолчанию — None.

Атрибуты

Комментарии

Чтобы задать параметры безопасности, отличные от установленных по умолчанию, воспользуйтесь конструктором WebHttpBinding(WebHttpSecurityMode).

Применяется к