Share via


StateChange Constructor

.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

See Also

Reference

StateChange Class

Microsoft.AspNet.SignalR.Client Namespace