IClientTransport.Start Method
.NET Framework 4
Namespace: Microsoft.AspNet.SignalR.Client.Transports
Assembly: Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)
Syntax
'Declaration
Function Start ( _
connection As IConnection, _
data As String, _
disconnectToken As CancellationToken _
) As Task
'Usage
Dim instance As IClientTransport
Dim connection As IConnection
Dim data As String
Dim disconnectToken As CancellationToken
Dim returnValue As Task
returnValue = instance.Start(connection, _
data, disconnectToken)
Task Start(
IConnection connection,
string data,
CancellationToken disconnectToken
)
Task^ Start(
IConnection^ connection,
String^ data,
CancellationToken disconnectToken
)
abstract Start :
connection:IConnection *
data:string *
disconnectToken:CancellationToken -> Task
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.