TcpChannel.IsSecured 属性

定义

获取或设置一个布尔值,该值指示当前信道是否安全。Gets or sets a Boolean value that indicates whether the current channel is secure.

public:
 property bool IsSecured { bool get(); void set(bool value); };
public bool IsSecured { get; set; }
member this.IsSecured : bool with get, set
Public Property IsSecured As Boolean

属性值

Boolean

一个布尔值,指示当前实例是否安全。A Boolean value that indicates whether the current instance is secure.

实现

注解

不需要显式设置此属性,因为它足以设置的 ensureSecurity 参数 Configure(String, Boolean)This property need not be set explicitly, as it is sufficient to set the ensureSecurity parameter of Configure(String, Boolean).

适用于