ClientWebSocketOptions.UseDefaultCredentials 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定一個 Boolean 值,指示在 WebSocket 握手時是否應該使用預設憑證。
public:
property bool UseDefaultCredentials { bool get(); void set(bool value); };
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public bool UseDefaultCredentials { get; set; }
public bool UseDefaultCredentials { get; set; }
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
member this.UseDefaultCredentials : bool with get, set
member this.UseDefaultCredentials : bool with get, set
Public Property UseDefaultCredentials As Boolean
屬性值
trueWebSocket 握手時是否應使用預設憑證;否則,。 false 預設值為 true。
- 屬性