共用方式為


HttpContextBase.IsWebSocketRequest 屬性

定義

在衍生類別內實作時,取得一個值,這個值指出要求是否為 AspNetWebSocket 連接要求。

public:
 virtual property bool IsWebSocketRequest { bool get(); };
public virtual bool IsWebSocketRequest { get; }
member this.IsWebSocketRequest : bool
Public Overridable ReadOnly Property IsWebSocketRequest As Boolean

屬性值

Boolean

如果要求是 AspNetWebSocket 要求,則為 true;否則為 false

適用於