Modifier

Partager via


NetTcpSecurityElement.Mode Property

Definition

Gets or sets the type of security that is applied.

public:
 property System::ServiceModel::SecurityMode Mode { System::ServiceModel::SecurityMode get(); void set(System::ServiceModel::SecurityMode value); };
[System.Configuration.ConfigurationProperty("mode", DefaultValue=System.ServiceModel.SecurityMode.Transport)]
public System.ServiceModel.SecurityMode Mode { get; set; }
[<System.Configuration.ConfigurationProperty("mode", DefaultValue=System.ServiceModel.SecurityMode.Transport)>]
member this.Mode : System.ServiceModel.SecurityMode with get, set
Public Property Mode As SecurityMode

Property Value

A SecurityMode that specifies the type of security that is applied. The default value is Transport.

Attributes

Applies to