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

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax
C#
public virtual Task<ClassSiteInfo> GetAsync(
	int classId,
	int siteId,
	Nullable<CancellationToken> cancellationToken = null
)

Parameters

classId
Type: SystemInt32
Class ID.
siteId
Type: SystemInt32
Site ID.
cancellationToken (Optional)
Type: SystemNullableCancellationToken
The cancellation instruction.

Return Value

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

Implements

IClassSiteInfoProviderGetAsync(Int32, Int32, NullableCancellationToken)
See Also