IConnection.ChangeState Method
.NET Framework 4
Namespace: Microsoft.AspNet.SignalR.Client
Assembly: Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)
Syntax
'Declaration
Function ChangeState ( _
oldState As ConnectionState, _
newState As ConnectionState _
) As Boolean
'Usage
Dim instance As IConnection
Dim oldState As ConnectionState
Dim newState As ConnectionState
Dim returnValue As Boolean
returnValue = instance.ChangeState(oldState, _
newState)
bool ChangeState(
ConnectionState oldState,
ConnectionState newState
)
bool ChangeState(
ConnectionState oldState,
ConnectionState newState
)
abstract ChangeState :
oldState:ConnectionState *
newState:ConnectionState -> bool
function ChangeState(
oldState : ConnectionState,
newState : ConnectionState
) : boolean
Parameters
- oldState
Type: Microsoft.AspNet.SignalR.Client.ConnectionState
- newState
Type: Microsoft.AspNet.SignalR.Client.ConnectionState
Return Value
Type: System.Boolean
Returns Boolean.