共用方式為


OwinFeatureCollection.IHttpWebSocketFeature.AcceptAsync 方法

定義

 virtual System::Threading::Tasks::Task<System::Net::WebSockets::WebSocket ^> ^ Microsoft.AspNetCore.Http.Features.IHttpWebSocketFeature.AcceptAsync(Microsoft::AspNetCore::Http::WebSocketAcceptContext ^ context) = Microsoft::AspNetCore::Http::Features::IHttpWebSocketFeature::AcceptAsync;
System.Threading.Tasks.Task<System.Net.WebSockets.WebSocket> IHttpWebSocketFeature.AcceptAsync (Microsoft.AspNetCore.Http.WebSocketAcceptContext context);
abstract member Microsoft.AspNetCore.Http.Features.IHttpWebSocketFeature.AcceptAsync : Microsoft.AspNetCore.Http.WebSocketAcceptContext -> System.Threading.Tasks.Task<System.Net.WebSockets.WebSocket>
override this.Microsoft.AspNetCore.Http.Features.IHttpWebSocketFeature.AcceptAsync : Microsoft.AspNetCore.Http.WebSocketAcceptContext -> System.Threading.Tasks.Task<System.Net.WebSockets.WebSocket>
Function AcceptAsync (context As WebSocketAcceptContext) As Task(Of WebSocket) Implements IHttpWebSocketFeature.AcceptAsync

參數

傳回

實作

適用於