Share via


HttpBasedTransport.OnStart Method

.NET Framework 4

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

Syntax

'Declaration
Protected MustOverride Sub OnStart ( _
    connection As IConnection, _
    data As String, _
    disconnectToken As CancellationToken, _
    initializeCallback As Action, _
    errorCallback As Action(Of Exception) _
)
'Usage
Dim connection As IConnection 
Dim data As String 
Dim disconnectToken As CancellationToken 
Dim initializeCallback As Action 
Dim errorCallback As Action(Of Exception)

Me.OnStart(connection, data, disconnectToken, _
    initializeCallback, errorCallback)
protected abstract void OnStart(
    IConnection connection,
    string data,
    CancellationToken disconnectToken,
    Action initializeCallback,
    Action<Exception> errorCallback
)
protected:
virtual void OnStart(
    IConnection^ connection, 
    String^ data, 
    CancellationToken disconnectToken, 
    Action^ initializeCallback, 
    Action<Exception^>^ errorCallback
) abstract
abstract OnStart : 
        connection:IConnection * 
        data:string * 
        disconnectToken:CancellationToken * 
        initializeCallback:Action * 
        errorCallback:Action<Exception> -> unit
protected abstract function OnStart(
    connection : IConnection, 
    data : String, 
    disconnectToken : CancellationToken, 
    initializeCallback : Action, 
    errorCallback : Action<Exception>
)

Parameters

See Also

Reference

HttpBasedTransport Class

Microsoft.AspNet.SignalR.Client.Transports Namespace