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) 构造函数。

适用于