共用方式為


OwinWebSocketAdapter(IDictionary<String,Object>, String) 建構函式

定義

初始化 OwinWebSocketAdapter 的新執行個體。

public:
 OwinWebSocketAdapter(System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ websocketContext, System::String ^ subProtocol);
public OwinWebSocketAdapter (System.Collections.Generic.IDictionary<string,object> websocketContext, string subProtocol);
new Microsoft.AspNetCore.Owin.OwinWebSocketAdapter : System.Collections.Generic.IDictionary<string, obj> * string -> Microsoft.AspNetCore.Owin.OwinWebSocketAdapter
Public Sub New (websocketContext As IDictionary(Of String, Object), subProtocol As String)

參數

websocketContext
IDictionary<String,Object>

WebSocket 內容選項。

subProtocol
String

WebSocket 副程式。

適用於