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

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

Parameters

smtpServerId
Type: SystemInt32
SMTP server ID.
siteId
Type: SystemInt32
Site ID.
cancellationToken (Optional)
Type: SystemNullableCancellationToken
The cancellation instruction.

Return Value

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

Implements

ISMTPServerSiteInfoProviderGetAsync(Int32, Int32, NullableCancellationToken)
See Also