IResourceSiteInfoProviderGetAsync Method |
Namespace: CMS.ModulesAssembly: CMS.Modules (in CMS.Modules.dll) Version: 13.0.131
Syntax Task<ResourceSiteInfo> GetAsync(
int resourceId,
int siteId,
Nullable<CancellationToken> cancellationToken = null
)
Parameters
- resourceId
- Type: SystemInt32
Module ID. - siteId
- Type: SystemInt32
Site ID. - cancellationToken (Optional)
- Type: SystemNullableCancellationToken
The cancellation instruction.
Return Value
Type:
TaskResourceSiteInfoReturns a task returning either an instance of
ResourceSiteInfo corresponding to given identifiers or null.
See Also