IClientProxy.SendCoreAsync(String, Object[], CancellationToken) 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.
Invokes a method on the connection(s) represented by the IClientProxy instance. Does not wait for a response from the receiver.
public System.Threading.Tasks.Task SendCoreAsync (string method, object[] args, System.Threading.CancellationToken cancellationToken = default);
public System.Threading.Tasks.Task SendCoreAsync (string method, object?[]? args, System.Threading.CancellationToken cancellationToken = default);
public System.Threading.Tasks.Task SendCoreAsync (string method, object?[] args, System.Threading.CancellationToken cancellationToken = default);
abstract member SendCoreAsync : string * obj[] * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function SendCoreAsync (method As String, args As Object(), Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- method
- String
Name of the method to invoke.
- args
- Object[]
A collection of arguments to pass to the client.
- cancellationToken
- CancellationToken
The token to monitor for cancellation requests. The default value is None.
Returns
A Task that represents the asynchronous invoke.