HubLifetimeManager<THub>.RemoveFromGroupAsync 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.
Removes a connection from the specified group.
public abstract System.Threading.Tasks.Task RemoveFromGroupAsync (string connectionId, string groupName, System.Threading.CancellationToken cancellationToken = default);
abstract member RemoveFromGroupAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public MustOverride Function RemoveFromGroupAsync (connectionId As String, groupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- connectionId
- String
The connection ID to remove from a group.
- groupName
- String
The group name.
- cancellationToken
- CancellationToken
The token to monitor for cancellation requests. The default value is None.
Returns
A Task that represents the asynchronous remove.