RequestContext.AcceptWebSocketAsync メソッド

定義

オーバーロード

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)

戻り値

適用対象

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)

パラメーター

subProtocol
String

戻り値

適用対象

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)

パラメーター

subProtocol
String
keepAliveInterval
TimeSpan

戻り値

適用対象

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)

パラメーター

subProtocol
String
receiveBufferSize
Int32
keepAliveInterval
TimeSpan

戻り値

適用対象