Share via


IClientTransport.Negotiate Method

.NET Framework 4

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

Syntax

'Declaration
Function Negotiate ( _
    connection As IConnection _
) As Task(Of NegotiationResponse)
'Usage
Dim instance As IClientTransport 
Dim connection As IConnection 
Dim returnValue As Task(Of NegotiationResponse)

returnValue = instance.Negotiate(connection)
Task<NegotiationResponse> Negotiate(
    IConnection connection
)
Task<NegotiationResponse^>^ Negotiate(
    IConnection^ connection
)
abstract Negotiate : 
        connection:IConnection -> Task<NegotiationResponse> 
function Negotiate(
    connection : IConnection
) : Task<NegotiationResponse>

Parameters

Return Value

Type: System.Threading.Tasks.Task<NegotiationResponse>
Returns Task<TResult>.

See Also

Reference

IClientTransport Interface

Microsoft.AspNet.SignalR.Client.Transports Namespace