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

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

Parameters

parentClassId
Type: SystemInt32
Parent page type ID.
childClassId
Type: SystemInt32
Child page type ID.
cancellationToken (Optional)
Type: SystemNullableCancellationToken
The cancellation instruction.

Return Value

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

Implements

IAllowedChildClassInfoProviderGetAsync(Int32, Int32, NullableCancellationToken)
See Also