PeerSecuritySettings.Mode 属性
定义
获取或设置指示对等通道安全模式的值。Gets or sets the value that indicates the security mode of the peer channel.
public:
property System::ServiceModel::SecurityMode Mode { System::ServiceModel::SecurityMode get(); void set(System::ServiceModel::SecurityMode value); };
public System.ServiceModel.SecurityMode Mode { get; set; }
member this.Mode : System.ServiceModel.SecurityMode with get, set
Public Property Mode As SecurityMode
属性值
指示对等通道安全模式的 SecurityMode 枚举值。SecurityMode enumeration value that indicates the security mode for the peer channel.
例外
指定值不是 SecurityMode 中的枚举值The specified value is not an enumerated value from SecurityMode