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

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax
C#
public virtual Task<DocumentCategoryInfo> GetAsync(
	int documentId,
	int categoryId,
	Nullable<CancellationToken> cancellationToken = null
)

Parameters

documentId
Type: SystemInt32
Page ID.
categoryId
Type: SystemInt32
Content category ID.
cancellationToken (Optional)
Type: SystemNullableCancellationToken
The cancellation instruction.

Return Value

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

Implements

IDocumentCategoryInfoProviderGetAsync(Int32, Int32, NullableCancellationToken)
See Also