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

Namespace: CMS.Modules
Assembly: CMS.Modules (in CMS.Modules.dll) Version: 13.0.131
Syntax
C#
public virtual Task<RoleApplicationInfo> GetAsync(
	int roleId,
	int uiElementId,
	Nullable<CancellationToken> cancellationToken = null
)

Parameters

roleId
Type: SystemInt32
Role ID.
uiElementId
Type: SystemInt32
UI element ID.
cancellationToken (Optional)
Type: SystemNullableCancellationToken
The cancellation instruction.

Return Value

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

Implements

IRoleApplicationInfoProviderGetAsync(Int32, Int32, NullableCancellationToken)
See Also