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

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