Partager via


ConnectionExtensions.EnsureReconnecting Method

.NET Framework 4

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function EnsureReconnecting ( _
    connection As IConnection _
) As Boolean
'Usage
Dim connection As IConnection 
Dim returnValue As Boolean 

returnValue = connection.EnsureReconnecting()
public static bool EnsureReconnecting(
    this IConnection connection
)
[ExtensionAttribute]
public:
static bool EnsureReconnecting(
    IConnection^ connection
)
static member EnsureReconnecting : 
        connection:IConnection -> bool
public static function EnsureReconnecting(
    connection : IConnection
) : boolean

Parameters

Return Value

Type: System.Boolean
Returns Boolean.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IConnection. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.100) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.100).

See Also

Reference

ConnectionExtensions Class

Microsoft.AspNet.SignalR.Client Namespace