Share via


HttpClientConnection100Class.UseSecureConnection 属性

定义

public:
 virtual property bool UseSecureConnection { bool get(); void set(bool value); };
[System.Runtime.InteropServices.DispId(24)]
public virtual bool UseSecureConnection { [System.Runtime.InteropServices.DispId(24)] get; [System.Runtime.InteropServices.DispId(24)] set; }
[<System.Runtime.InteropServices.DispId(24)>]
[<get: System.Runtime.InteropServices.DispId(24)>]
[<set: System.Runtime.InteropServices.DispId(24)>]
member this.UseSecureConnection : bool with get, set
Public Overridable Property UseSecureConnection As Boolean

属性值

指示连接是 HTTPS 还是 HTTP 的 布尔 值。 true 值表示使用安全的 HTTPS 连接。 false 值表示未使用安全连接。 而改用 HTTP。

实现

属性

适用于