HttpBasedTransport.Start Method
.NET Framework 4
Namespace: Microsoft.AspNet.SignalR.Client.Transports
Assembly: Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)
Syntax
'Declaration
Public Function Start ( _
connection As IConnection, _
data As String, _
disconnectToken As CancellationToken _
) As Task
'Usage
Dim instance As HttpBasedTransport
Dim connection As IConnection
Dim data As String
Dim disconnectToken As CancellationToken
Dim returnValue As Task
returnValue = instance.Start(connection, _
data, disconnectToken)
public Task Start(
IConnection connection,
string data,
CancellationToken disconnectToken
)
public:
virtual Task^ Start(
IConnection^ connection,
String^ data,
CancellationToken disconnectToken
) sealed
abstract Start :
connection:IConnection *
data:string *
disconnectToken:CancellationToken -> Task
override Start :
connection:IConnection *
data:string *
disconnectToken:CancellationToken -> Task
public final function Start(
connection : IConnection,
data : String,
disconnectToken : CancellationToken
) : Task
Parameters
- connection
Type: Microsoft.AspNet.SignalR.Client.IConnection
- data
Type: System.String
- disconnectToken
Type: System.Threading.CancellationToken
Return Value
Type: System.Threading.Tasks.Task
Returns Task.
Implements
IClientTransport.Start(IConnection, String, CancellationToken)