DefaultHubLifetimeManager<THub>.SetConnectionResultAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.