NetTcpSecurityElement.Mode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.