Click or drag to resize
IResourceSiteInfoProviderGetAsync Method
Asynchronously gets an instance of the ResourceSiteInfo binding structure.

Namespace: CMS.Modules
Assembly: CMS.Modules (in CMS.Modules.dll) Version: 13.0.131
Syntax
C#
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: TaskResourceSiteInfo
Returns a task returning either an instance of ResourceSiteInfo corresponding to given identifiers or null.
See Also