DefaultHubLifetimeManager<THub>.SendUsersAsync 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.
Sends an invocation message to the specified users.
public override System.Threading.Tasks.Task SendUsersAsync (System.Collections.Generic.IReadOnlyList<string> userIds, string methodName, object[] args, System.Threading.CancellationToken cancellationToken = default);
public override System.Threading.Tasks.Task SendUsersAsync (System.Collections.Generic.IReadOnlyList<string> userIds, string methodName, object?[]? args, System.Threading.CancellationToken cancellationToken = default);
public override System.Threading.Tasks.Task SendUsersAsync (System.Collections.Generic.IReadOnlyList<string> userIds, string methodName, object?[] args, System.Threading.CancellationToken cancellationToken = default);
override this.SendUsersAsync : System.Collections.Generic.IReadOnlyList<string> * string * obj[] * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overrides Function SendUsersAsync (userIds As IReadOnlyList(Of String), methodName As String, args As Object(), Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- userIds
- IReadOnlyList<String>
The user IDs.
- methodName
- String
The invocation method name.
- args
- Object[]
The invocation arguments.
- cancellationToken
- CancellationToken
The token to monitor for cancellation requests. The default value is None.
Returns
A Task that represents the asynchronous send.