CloseMessage Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The message sent when closing a connection.
public ref class CloseMessage : Microsoft::AspNetCore::SignalR::Protocol::HubMessage
public class CloseMessage : Microsoft.AspNetCore.SignalR.Protocol.HubMessage
type CloseMessage = class
inherit HubMessage
Public Class CloseMessage
Inherits HubMessage
- Inheritance
Constructors
CloseMessage(String, Boolean) |
Initializes a new instance of the CloseMessage class with an optional error message and a Boolean indicating whether or not a client with automatic reconnects enabled should attempt to reconnect upon receiving the message. |
CloseMessage(String) |
Initializes a new instance of the CloseMessage class with an optional error message and AllowReconnect set to |
Fields
Empty |
An empty close message with no error and AllowReconnect set to |
Properties
AllowReconnect |
If |
Error |
Gets the optional error message. |