Click or drag to resize
CultureSiteInfoProviderGetAsync Method (Int32, Int32, NullableCancellationToken)
Asynchronously gets an instance of the CultureSiteInfo binding structure.

Namespace: CMS.SiteProvider
Assembly: CMS.SiteProvider (in CMS.SiteProvider.dll) Version: 13.0.131
Syntax
C#
public virtual Task<CultureSiteInfo> GetAsync(
	int cultureId,
	int siteId,
	Nullable<CancellationToken> cancellationToken = null
)

Parameters

cultureId
Type: SystemInt32
Culture ID.
siteId
Type: SystemInt32
Site ID.
cancellationToken (Optional)
Type: SystemNullableCancellationToken
The cancellation instruction.

Return Value

Type: TaskCultureSiteInfo
Returns a task returning either an instance of CultureSiteInfo corresponding to given identifiers or null.

Implements

ICultureSiteInfoProviderGetAsync(Int32, Int32, NullableCancellationToken)
See Also