Click or drag to resize
ResourceSiteInfoProviderGetAsync Method (Int32, Int32, NullableCancellationToken)
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#
public virtual 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.

Implements

IResourceSiteInfoProviderGetAsync(Int32, Int32, NullableCancellationToken)
See Also