StateChange Constructor

.NET Framework 4.5

Creates a new stance of StateChange .

Namespace:  Microsoft.AspNet.SignalR.Client
Assembly:  Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)

public:
StateChange(
	ConnectionState oldState, 
	ConnectionState newState
)

Parameters

oldState
Type: Microsoft.AspNet.SignalR.Client::ConnectionState
The old state of the connection.
newState
Type: Microsoft.AspNet.SignalR.Client::ConnectionState
The new state of the connection.
Show: