CultureSiteInfoProviderGetAsync Method (Int32, Int32, NullableCancellationToken) |
Namespace: CMS.SiteProviderAssembly: CMS.SiteProvider (in CMS.SiteProvider.dll) Version: 13.0.131
Syntax 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:
TaskCultureSiteInfoReturns a task returning either an instance of
CultureSiteInfo corresponding to given identifiers or null.
Implements
ICultureSiteInfoProviderGetAsync(Int32, Int32, NullableCancellationToken)See Also