Click or drag to resize
SMTPServerInfoProviderGetInfoByIdAsync Method
Asynchronously gets an instance of info object based on ID.

Namespace: CMS.EmailEngine
Assembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 13.0.131
Syntax
C#
protected override Task<SMTPServerInfo> GetInfoByIdAsync(
	int id,
	bool useHashtable,
	CancellationToken cancellationToken
)

Parameters

id
Type: SystemInt32
Value of the record ID to look for
useHashtable
Type: SystemBoolean
If true, the object is taken through the hashtable
cancellationToken
Type: System.ThreadingCancellationToken
The cancellation instruction.

Return Value

Type: TaskSMTPServerInfo
See Also