This documentation is archived and is not being maintained.
PersistentResponse Class
.NET Framework 4.5
Represents a response to a connection.
System::Object Microsoft.AspNet.SignalR.Transports::PersistentResponse Namespace:
Microsoft.AspNet.SignalR.Transports Assembly:
Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
public ref class PersistentResponse sealed : IJsonWritable
The PersistentResponse type exposes the following members.
|
| Name | Description |
|---|
 | Aborted | Gets or sets a value indicating whether the connection was forcibly closed. |
 | Disconnect | Gets or sets a value that indicates whether the connection receives a disconnect command. |
 | GroupsToken | Gets or sets a signed token representing the list of groups. |
 | Initializing | True if the connection is in process of initializing |
 | LongPollDelay | Gets or sets the time the long polling client should wait before reestablishing a connection if no data is received. |
 | Messages | Gets or sets the list of messages to be sent to the receiving connection. |
 | Reconnect | True if the client should try reconnecting. |
 | Terminal | |
 | TotalCount | Gets or sets the total count of the messages sent the receiving connection. |
Top|
| Name | Description |
|---|
  | IJsonWritable::WriteJson | Serializes only the necessary components of the PersistentResponse to JSON using Json.NET’s JsonTextWriter to improve performance. |
TopNo content here will be updated; please do not add material here.
Any public
static (
Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.