KrProcessClientLauncherBaseLaunchAsync - метод
Запускает указанный процесс.
Пространство имён: Tessa.Extensions.Default.Shared.Workflow.KrProcessСборка: Tessa.Extensions.Default.Shared (в Tessa.Extensions.Default.Shared.dll) Версия: 4.0.5
public Task<IKrProcessLaunchResult> LaunchAsync(
KrProcessInstance krProcess,
ICardExtensionContext? cardContext = null,
IKrProcessLauncherSpecificParameters? specificParameters = null,
CancellationToken cancellationToken = default
)
Public Function LaunchAsync (
krProcess As KrProcessInstance,
Optional cardContext As ICardExtensionContext = Nothing,
Optional specificParameters As IKrProcessLauncherSpecificParameters = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of IKrProcessLaunchResult)
public:
virtual Task<IKrProcessLaunchResult^>^ LaunchAsync(
KrProcessInstance^ krProcess,
ICardExtensionContext^ cardContext = nullptr,
IKrProcessLauncherSpecificParameters^ specificParameters = nullptr,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract LaunchAsync :
krProcess : KrProcessInstance *
?cardContext : ICardExtensionContext *
?specificParameters : IKrProcessLauncherSpecificParameters *
?cancellationToken : CancellationToken
(* Defaults:
let _cardContext = defaultArg cardContext null
let _specificParameters = defaultArg specificParameters null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<IKrProcessLaunchResult>
override LaunchAsync :
krProcess : KrProcessInstance *
?cardContext : ICardExtensionContext *
?specificParameters : IKrProcessLauncherSpecificParameters *
?cancellationToken : CancellationToken
(* Defaults:
let _cardContext = defaultArg cardContext null
let _specificParameters = defaultArg specificParameters null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<IKrProcessLaunchResult>
- krProcess KrProcessInstance
- Запускаемый процесс.
- cardContext ICardExtensionContext (Optional)
- Контекст процесса взаимодействия с карточкой в рамках которого запускается процесс.
- specificParameters IKrProcessLauncherSpecificParameters (Optional)
Параметры запуска процесса.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskIKrProcessLaunchResult
Результат запуска процесса.
IKrProcessLauncherLaunchAsync(KrProcessInstance, ICardExtensionContext, IKrProcessLauncherSpecificParameters, CancellationToken)