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

屬性值

true 如果請求是 AspNetWebSocket 請求;否則, false

適用於