Share via


RedisHubLifetimeManager<THub>.SetConnectionResultAsync Method

Definition

Sets the connection result for an in progress InvokeConnectionAsync<T>(String, String, Object[], CancellationToken) call.

public override System.Threading.Tasks.Task SetConnectionResultAsync (string connectionId, Microsoft.AspNetCore.SignalR.Protocol.CompletionMessage result);
override this.SetConnectionResultAsync : string * Microsoft.AspNetCore.SignalR.Protocol.CompletionMessage -> System.Threading.Tasks.Task
Public Overrides Function SetConnectionResultAsync (connectionId As String, result As CompletionMessage) As Task

Parameters

connectionId
String

The connection ID.

result
CompletionMessage

The result from the connection.

Returns

A Task that represents the result being set or being forwarded to another server.

Applies to