Share via


AutoTransport.Negotiate 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 Negotiate ( _
    connection As IConnection _
) As Task(Of NegotiationResponse)
'Usage
Dim instance As AutoTransport 
Dim connection As IConnection 
Dim returnValue As Task(Of NegotiationResponse)

returnValue = instance.Negotiate(connection)
public Task<NegotiationResponse> Negotiate(
    IConnection connection
)
public:
virtual Task<NegotiationResponse^>^ Negotiate(
    IConnection^ connection
) sealed
abstract Negotiate : 
        connection:IConnection -> Task<NegotiationResponse> 
override Negotiate : 
        connection:IConnection -> Task<NegotiationResponse> 
public final function Negotiate(
    connection : IConnection
) : Task<NegotiationResponse>

Parameters

Return Value

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

Implements

IClientTransport.Negotiate(IConnection)

See Also

Reference

AutoTransport Class

Microsoft.AspNet.SignalR.Client.Transports Namespace