Share via


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

Return Value

Type: System.Boolean
Returns Boolean.

See Also

Reference

IConnection Interface

Microsoft.AspNet.SignalR.Client Namespace