PersistentResponse::IJsonWritable::WriteJson Method

.NET Framework 4.5

Serializes only the necessary components of the PersistentResponse to JSON using Json.NET’s JsonTextWriter to improve performance.

Namespace:  Microsoft.AspNet.SignalR.Transports
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: