EMThumbnailGenerator Constructor

Alterian Email Manager 6.2.3 SDK Help File
Constructor for the thumbnail generator service process

Namespace:  DMLibrary
Assembly:  DMLibrary (in DMLibrary.dll) Version: 1.0.6340.17420

Syntax
public EMThumbnailGenerator(
	string workingDirectory,
	string alertFile,
	string dbMainConnectionString,
	string serviceName,
	int maxTries,
	int pollingIntervalMS,
	int sizeX,
	int sizeY,
	int maxWaitForScreenshotMS,
	int maxQueueSize,
	int maxErrors,
	int maxMinBeforeRetry,
	IEMProcessHeartBeat emProcessHeartBeat
)

Parameters

workingDirectory
Type: SystemString
The directory containing the PhantomJS exe where the thumbnails will get generated.
alertFile
Type: SystemString
Location for the alert file.
dbMainConnectionString
Type: SystemString
Connection string for the main db.
serviceName
Type: SystemString
Name of the service
maxTries
Type: SystemInt32
Maximum number of tries to generate a thumbnail.
pollingIntervalMS
Type: SystemInt32
The wait time between loops of the client set
sizeX
Type: SystemInt32
Thumbnail width.
sizeY
Type: SystemInt32
Thumbnail height.
maxWaitForScreenshotMS
Type: SystemInt32
The maximum time to wait for a screenshot to be generated by PhantomJS.
maxQueueSize
Type: SystemInt32
maxErrors
Type: SystemInt32
maxMinBeforeRetry
Type: SystemInt32
emProcessHeartBeat
Type: DMLibraryIEMProcessHeartBeat
See Also