IResourceTranslationInfoProviderGetAsync Method (Int32, Int32, NullableCancellationToken) |
Namespace: CMS.LocalizationAssembly: CMS.Globalization (in CMS.Globalization.dll) Version: 13.0.131
SyntaxTask<ResourceTranslationInfo> GetAsync(
int resourceStringId,
int cultureId,
Nullable<CancellationToken> cancellationToken = null
)
Parameters
- resourceStringId
- Type: SystemInt32
Resource string ID. - cultureId
- Type: SystemInt32
Culture ID. - cancellationToken (Optional)
- Type: SystemNullableCancellationToken
The cancellation instruction.
Return Value
Type:
TaskResourceTranslationInfoReturns a task returning either an instance of
ResourceTranslationInfo corresponding to given identifiers or null.
See Also