WebSocket.CloseStatus 属性

定义

指示远程终结点启动关闭握手的原因。

public:
 abstract property Nullable<System::Net::WebSockets::WebSocketCloseStatus> CloseStatus { Nullable<System::Net::WebSockets::WebSocketCloseStatus> get(); };
public abstract System.Net.WebSockets.WebSocketCloseStatus? CloseStatus { get; }
member this.CloseStatus : Nullable<System.Net.WebSockets.WebSocketCloseStatus>
Public MustOverride ReadOnly Property CloseStatus As Nullable(Of WebSocketCloseStatus)

属性值

返回 WebSocketCloseStatus

注解

如果尚未启动关闭握手,则返回 WebSocketCloseStatus.None。

适用于