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