共用方式為


HttpContextBase.WebSocketRequestedProtocols 屬性

定義

在衍生類別中覆寫時,取得用戶端所要求的通訊協定清單 (已排序)。

public:
 virtual property System::Collections::Generic::IList<System::String ^> ^ WebSocketRequestedProtocols { System::Collections::Generic::IList<System::String ^> ^ get(); };
public virtual System.Collections.Generic.IList<string> WebSocketRequestedProtocols { get; }
member this.WebSocketRequestedProtocols : System.Collections.Generic.IList<string>
Public Overridable ReadOnly Property WebSocketRequestedProtocols As IList(Of String)

屬性值

IList<String>

所要求的通訊協定;如果這不是 AspNetWebSocket 要求,或沒有清單,則為 null

適用於