PersistentResponse.IJsonWritable.WriteJson Method

.NET Framework 4

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)

Syntax

'Declaration
Private Sub WriteJson ( _
    writer As TextWriter _
) Implements IJsonWritable.WriteJson
'Usage
Dim instance As PersistentResponse 
Dim writer As TextWriter 

CType(instance, IJsonWritable).WriteJson(writer)
void IJsonWritable.WriteJson(
    TextWriter writer
)
private:
virtual void WriteJson(
    TextWriter^ writer
) sealed = IJsonWritable::WriteJson
private abstract WriteJson : 
        writer:TextWriter -> unit  
private override WriteJson : 
        writer:TextWriter -> unit
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

Implements

IJsonWritable.WriteJson(TextWriter)

See Also

Reference

PersistentResponse Class

Microsoft.AspNet.SignalR.Transports Namespace