IWebSocketCloseDetails.SetOutputCloseStatus Method

Definition

Sets the output status and description of the close details of the web socket.

public:
 void SetOutputCloseStatus(System::Net::WebSockets::WebSocketCloseStatus closeStatus, System::String ^ closeStatusDescription);
public void SetOutputCloseStatus (System.Net.WebSockets.WebSocketCloseStatus closeStatus, string closeStatusDescription);
abstract member SetOutputCloseStatus : System.Net.WebSockets.WebSocketCloseStatus * string -> unit
Public Sub SetOutputCloseStatus (closeStatus As WebSocketCloseStatus, closeStatusDescription As String)

Parameters

closeStatus
WebSocketCloseStatus

The status of the output close details.

closeStatusDescription
String

The status description of the output close details.

Applies to