HubLifetimeManager<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 virtual System.Threading.Tasks.Task SetConnectionResultAsync (string connectionId, Microsoft.AspNetCore.SignalR.Protocol.CompletionMessage result);
abstract member SetConnectionResultAsync : string * Microsoft.AspNetCore.SignalR.Protocol.CompletionMessage -> System.Threading.Tasks.Task
override this.SetConnectionResultAsync : string * Microsoft.AspNetCore.SignalR.Protocol.CompletionMessage -> System.Threading.Tasks.Task
Public Overridable 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.