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

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

Parameters

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

Return Value

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

Implements

IUserCultureInfoProviderGetAsync(Int32, Int32, Int32, NullableCancellationToken)
See Also