EmailUserInfoProviderGetAsync Method (Int32, Int32, NullableCancellationToken) |
Asynchronously gets an instance of the
EmailUserInfo binding structure.
Namespace: CMS.EmailEngineAssembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 13.0.131
Syntax 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:
TaskEmailUserInfoReturns a task returning either an instance of
EmailUserInfo corresponding to given identifiers or null.
Implements
IEmailUserInfoProviderGetAsync(Int32, Int32, NullableCancellationToken)See Also