ClassSiteInfoProviderGetAsync Method (Int32, Int32, NullableCancellationToken) |
Asynchronously gets an instance of the
ClassSiteInfo binding structure.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax 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:
TaskClassSiteInfoReturns a task returning either an instance of
ClassSiteInfo corresponding to given identifiers or null.
Implements
IClassSiteInfoProviderGetAsync(Int32, Int32, NullableCancellationToken)See Also