ClientWebSocketOptions.RemoteCertificateValidationCallback 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置用于验证服务器证书的回调。
public:
property System::Net::Security::RemoteCertificateValidationCallback ^ RemoteCertificateValidationCallback { System::Net::Security::RemoteCertificateValidationCallback ^ get(); void set(System::Net::Security::RemoteCertificateValidationCallback ^ value); };
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public System.Net.Security.RemoteCertificateValidationCallback? RemoteCertificateValidationCallback { get; set; }
public System.Net.Security.RemoteCertificateValidationCallback RemoteCertificateValidationCallback { get; set; }
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
member this.RemoteCertificateValidationCallback : System.Net.Security.RemoteCertificateValidationCallback with get, set
member this.RemoteCertificateValidationCallback : System.Net.Security.RemoteCertificateValidationCallback with get, set
Public Property RemoteCertificateValidationCallback As RemoteCertificateValidationCallback
属性值
用于验证服务器证书的回调函数。
- 属性