ClientWorkflowServiceCreateProcessStateAsync - метод |
Пространство имён:
Tessa.Workflow
Сборка:
Tessa (в Tessa.dll) Версия: 3.5.0.19
Синтаксис public Task<WorkflowProcessStateStorage> CreateProcessStateAsync(
WorkflowProcessStorage processTemplate,
Guid workflowCardID,
Guid mainCardID,
string mainCardDigest,
Guid processID,
Guid? parentProcessID = null,
CancellationToken cancellationToken = default
)
Public Function CreateProcessStateAsync (
processTemplate As WorkflowProcessStorage,
workflowCardID As Guid,
mainCardID As Guid,
mainCardDigest As String,
processID As Guid,
Optional parentProcessID As Guid? = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of WorkflowProcessStateStorage)
public:
virtual Task<WorkflowProcessStateStorage^>^ CreateProcessStateAsync(
WorkflowProcessStorage^ processTemplate,
Guid workflowCardID,
Guid mainCardID,
String^ mainCardDigest,
Guid processID,
Nullable<Guid> parentProcessID = nullptr,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract CreateProcessStateAsync :
processTemplate : WorkflowProcessStorage *
workflowCardID : Guid *
mainCardID : Guid *
mainCardDigest : string *
processID : Guid *
?parentProcessID : Nullable<Guid> *
?cancellationToken : CancellationToken
(* Defaults:
let _parentProcessID = defaultArg parentProcessID null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<WorkflowProcessStateStorage>
override CreateProcessStateAsync :
processTemplate : WorkflowProcessStorage *
workflowCardID : Guid *
mainCardID : Guid *
mainCardDigest : string *
processID : Guid *
?parentProcessID : Nullable<Guid> *
?cancellationToken : CancellationToken
(* Defaults:
let _parentProcessID = defaultArg parentProcessID null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<WorkflowProcessStateStorage>
Параметры
- processTemplate
- Тип: Tessa.Workflow.StorageWorkflowProcessStorage
- workflowCardID
- Тип: SystemGuid
- mainCardID
- Тип: SystemGuid
- mainCardDigest
- Тип: SystemString
- processID
- Тип: SystemGuid
- parentProcessID (Optional)
- Тип: SystemNullableGuid
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskWorkflowProcessStateStorageРеализации
IWorkflowInstanceServiceCreateProcessStateAsync(WorkflowProcessStorage, Guid, Guid, String, Guid, NullableGuid, CancellationToken)См. также