RequestContext.AcceptWebSocketAsync Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
AcceptWebSocketAsync() | |
AcceptWebSocketAsync(String) | |
AcceptWebSocketAsync(String, TimeSpan) | |
AcceptWebSocketAsync(String, Int32, TimeSpan) |
AcceptWebSocketAsync()
public:
System::Threading::Tasks::Task<System::Net::WebSockets::WebSocket ^> ^ AcceptWebSocketAsync();
public System.Threading.Tasks.Task<System.Net.WebSockets.WebSocket> AcceptWebSocketAsync ();
member this.AcceptWebSocketAsync : unit -> System.Threading.Tasks.Task<System.Net.WebSockets.WebSocket>
Public Function AcceptWebSocketAsync () As Task(Of WebSocket)
Devoluciones
Se aplica a
AcceptWebSocketAsync(String)
public:
System::Threading::Tasks::Task<System::Net::WebSockets::WebSocket ^> ^ AcceptWebSocketAsync(System::String ^ subProtocol);
public System.Threading.Tasks.Task<System.Net.WebSockets.WebSocket> AcceptWebSocketAsync (string subProtocol);
member this.AcceptWebSocketAsync : string -> System.Threading.Tasks.Task<System.Net.WebSockets.WebSocket>
Public Function AcceptWebSocketAsync (subProtocol As String) As Task(Of WebSocket)
Parámetros
- subProtocol
- String
Devoluciones
Se aplica a
AcceptWebSocketAsync(String, TimeSpan)
public:
System::Threading::Tasks::Task<System::Net::WebSockets::WebSocket ^> ^ AcceptWebSocketAsync(System::String ^ subProtocol, TimeSpan keepAliveInterval);
public System.Threading.Tasks.Task<System.Net.WebSockets.WebSocket> AcceptWebSocketAsync (string subProtocol, TimeSpan keepAliveInterval);
member this.AcceptWebSocketAsync : string * TimeSpan -> System.Threading.Tasks.Task<System.Net.WebSockets.WebSocket>
Public Function AcceptWebSocketAsync (subProtocol As String, keepAliveInterval As TimeSpan) As Task(Of WebSocket)
Parámetros
- subProtocol
- String
- keepAliveInterval
- TimeSpan
Devoluciones
Se aplica a
AcceptWebSocketAsync(String, Int32, TimeSpan)
public:
System::Threading::Tasks::Task<System::Net::WebSockets::WebSocket ^> ^ AcceptWebSocketAsync(System::String ^ subProtocol, int receiveBufferSize, TimeSpan keepAliveInterval);
public System.Threading.Tasks.Task<System.Net.WebSockets.WebSocket> AcceptWebSocketAsync (string subProtocol, int receiveBufferSize, TimeSpan keepAliveInterval);
member this.AcceptWebSocketAsync : string * int * TimeSpan -> System.Threading.Tasks.Task<System.Net.WebSockets.WebSocket>
Public Function AcceptWebSocketAsync (subProtocol As String, receiveBufferSize As Integer, keepAliveInterval As TimeSpan) As Task(Of WebSocket)
Parámetros
- subProtocol
- String
- receiveBufferSize
- Int32
- keepAliveInterval
- TimeSpan