IWorkflowEngineContextSendTaskAsync - метод |
Метод для отправки задания
Пространство имён:
Tessa.Workflow
Сборка:
Tessa (в Tessa.dll) Версия: 3.5.0.19
Синтаксис ValueTask<CardTask> SendTaskAsync(
Guid taskTypeID,
string digest,
DateTime? planned,
int? plannedQuants,
Guid roleID,
string roleName = null,
Guid? taskRowID = null,
Guid? parentRowID = null,
Action<CardTask> modifyTaskAction = null,
CancellationToken cancellationToken = default
)
Function SendTaskAsync (
taskTypeID As Guid,
digest As String,
planned As DateTime?,
plannedQuants As Integer?,
roleID As Guid,
Optional roleName As String = Nothing,
Optional taskRowID As Guid? = Nothing,
Optional parentRowID As Guid? = Nothing,
Optional modifyTaskAction As Action(Of CardTask) = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of CardTask)
ValueTask<CardTask^> SendTaskAsync(
Guid taskTypeID,
String^ digest,
Nullable<DateTime> planned,
Nullable<int> plannedQuants,
Guid roleID,
String^ roleName = nullptr,
Nullable<Guid> taskRowID = nullptr,
Nullable<Guid> parentRowID = nullptr,
Action<CardTask^>^ modifyTaskAction = nullptr,
CancellationToken cancellationToken = CancellationToken()
)
abstract SendTaskAsync :
taskTypeID : Guid *
digest : string *
planned : Nullable<DateTime> *
plannedQuants : Nullable<int> *
roleID : Guid *
?roleName : string *
?taskRowID : Nullable<Guid> *
?parentRowID : Nullable<Guid> *
?modifyTaskAction : Action<CardTask> *
?cancellationToken : CancellationToken
(* Defaults:
let _roleName = defaultArg roleName null
let _taskRowID = defaultArg taskRowID null
let _parentRowID = defaultArg parentRowID null
let _modifyTaskAction = defaultArg modifyTaskAction null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<CardTask>
Параметры
- taskTypeID
- Тип: SystemGuid
- digest
- Тип: SystemString
- planned
- Тип: SystemNullableDateTime
- plannedQuants
- Тип: SystemNullableInt32
- roleID
- Тип: SystemGuid
- roleName (Optional)
- Тип: SystemString
- taskRowID (Optional)
- Тип: SystemNullableGuid
- parentRowID (Optional)
- Тип: SystemNullableGuid
- modifyTaskAction (Optional)
- Тип: SystemActionCardTask
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
ValueTaskCardTaskВозвращает созданное задание, или null, если произошла ошибка при создании задания.
См. также