ClientDiscoveryCommandStrategySendAsync - метод
Пространство имён: Tessa.Extensions.Default.Console.SendCommandСборка: Tessa.Extensions.Default.Console (в Tessa.Extensions.Default.Console.dll) Версия: 4.0.4
public Task<IList<DiscoveryCommandResponse>> SendAsync(
DiscoveryCommandRequest request,
DiscoveryKey signingKey,
Func<DiscoveryCommandResponse, CancellationToken, Task>? progressFunc = null,
bool nowait = false,
CancellationToken cancellationToken = default
)
Public Function SendAsync (
request As DiscoveryCommandRequest,
signingKey As DiscoveryKey,
Optional progressFunc As Func(Of DiscoveryCommandResponse, CancellationToken, Task) = Nothing,
Optional nowait As Boolean = false,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of IList(Of DiscoveryCommandResponse))
public:
virtual Task<IList<DiscoveryCommandResponse^>^>^ SendAsync(
DiscoveryCommandRequest^ request,
DiscoveryKey^ signingKey,
Func<DiscoveryCommandResponse^, CancellationToken, Task^>^ progressFunc = nullptr,
bool nowait = false,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract SendAsync :
request : DiscoveryCommandRequest *
signingKey : DiscoveryKey *
?progressFunc : Func<DiscoveryCommandResponse, CancellationToken, Task> *
?nowait : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _progressFunc = defaultArg progressFunc null
let _nowait = defaultArg nowait false
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<IList<DiscoveryCommandResponse>>
override SendAsync :
request : DiscoveryCommandRequest *
signingKey : DiscoveryKey *
?progressFunc : Func<DiscoveryCommandResponse, CancellationToken, Task> *
?nowait : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _progressFunc = defaultArg progressFunc null
let _nowait = defaultArg nowait false
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<IList<DiscoveryCommandResponse>>
- request DiscoveryCommandRequest
-
- signingKey DiscoveryKey
-
- progressFunc FuncDiscoveryCommandResponse, CancellationToken, Task (Optional)
-
- nowait Boolean (Optional)
-
- cancellationToken CancellationToken (Optional)
-
TaskIListDiscoveryCommandResponseIDiscoveryCommandStrategySendAsync(DiscoveryCommandRequest, DiscoveryKey, FuncDiscoveryCommandResponse, CancellationToken, Task, Boolean, CancellationToken)