IWebSocketCloseDetails.SetOutputCloseStatus(WebSocketCloseStatus, String) 方法
定义
设置网络套接字的输出状态和关闭细节说明。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)
参数
- closeStatus
- WebSocketCloseStatus
输出关闭细节的状态。The status of the output close details.
- closeStatusDescription
- String
输出关闭细节的状态说明。The status description of the output close details.