RequestContext.AcceptWebSocketAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
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)
Retours
S’applique à
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)
Paramètres
- subProtocol
- String
Retours
S’applique à
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)
Paramètres
- subProtocol
- String
- keepAliveInterval
- TimeSpan
Retours
S’applique à
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)
Paramètres
- subProtocol
- String
- receiveBufferSize
- Int32
- keepAliveInterval
- TimeSpan