NetTcpSecurityElement.Mode 属性

定义

获取或设置所应用的安全类型。

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

属性值

SecurityMode

一个 SecurityMode,指定所应用的安全类型。 默认值为 Transport。

属性

适用于