PersistentResponse::IJsonWritable::WriteJson Method
.NET Framework 4.5 Namespace:
Microsoft.AspNet.SignalR.Transports
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Serializes only the necessary components of the PersistentResponse to JSON using Json.NET’s JsonTextWriter to improve performance.
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
private: virtual void WriteJson( TextWriter^ writer ) sealed = IJsonWritable::WriteJson
Parameters
- writer
- Type: System.IO::TextWriter
The TextWriter that receives the JSON serialization.
Implements
IJsonWritable::WriteJson(TextWriter)
Show: