Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
.NET Framework 4
Creates a new stance of StateChange .
Namespace:  Microsoft.AspNet.SignalR.Client
Assembly:  Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)
Syntax
'Declaration
Public Sub New ( _
    oldState As ConnectionState, _
    newState As ConnectionState _
)
'Usage
Dim oldState As ConnectionState 
Dim newState As ConnectionState 
Dim instance As New StateChange(oldState, _
    newState)
public StateChange(
    ConnectionState oldState,
    ConnectionState newState
)
public:
StateChange(
    ConnectionState oldState, 
    ConnectionState newState
)
new : 
        oldState:ConnectionState * 
        newState:ConnectionState -> StateChange
public function StateChange(
    oldState : ConnectionState, 
    newState : ConnectionState
)
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.