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

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

Parameters

emailId
Type: SystemInt32
Email ID.
userId
Type: SystemInt32
User ID.
cancellationToken (Optional)
Type: SystemNullableCancellationToken
The cancellation instruction.

Return Value

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

Implements

IEmailUserInfoProviderGetAsync(Int32, Int32, NullableCancellationToken)
See Also