IWebSocketCloseDetails.SetOutputCloseStatus 方法

定义

设置网络套接字的输出状态和关闭细节说明。

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)

参数

closeStatus
WebSocketCloseStatus

输出关闭细节的状态。

closeStatusDescription
String

输出关闭细节的状态说明。

适用于