Edit

Share via


PeerSecurityElement.Mode Property

Definition

Gets or sets the type of security used by peers configured with this element.

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

SecurityMode enumeration value that specifies the type of security used by peers configured with this element.

Attributes

Applies to