Click or drag to resize
WorkflowUserInfoProviderGetAsync Method (Int32, Int32, NullableCancellationToken)
Asynchronously gets an instance of the WorkflowUserInfo binding structure.

Namespace: CMS.WorkflowEngine
Assembly: CMS.WorkflowEngine (in CMS.WorkflowEngine.dll) Version: 13.0.131
Syntax
C#
public virtual Task<WorkflowUserInfo> GetAsync(
	int workflowId,
	int userId,
	Nullable<CancellationToken> cancellationToken = null
)

Parameters

workflowId
Type: SystemInt32
Workflow ID.
userId
Type: SystemInt32
User ID.
cancellationToken (Optional)
Type: SystemNullableCancellationToken
The cancellation instruction.

Return Value

Type: TaskWorkflowUserInfo
Returns a task returning either an instance of WorkflowUserInfo corresponding to given identifiers or null.

Implements

IWorkflowUserInfoProviderGetAsync(Int32, Int32, NullableCancellationToken)
See Also