Editar

Partilhar via


WebHttpBindingElement.Security Property

Definition

Gets the configuration element that contains the security settings used with this binding.

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

Property Value

The WebHttpSecurityElement that is used with this binding. The default value is None.

Attributes

Remarks

To use a non-default type of security, use the WebHttpBinding(WebHttpSecurityMode) constructor.

Applies to