PeerSecurityElement.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 枚举值,该值指定配置了此元素的对等方所使用的安全类型。

属性

适用于