Click or drag to resize
IDocumentCategoryInfoProviderGetAsync Method
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#
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.
See Also