EMThumbnailGenerator Constructor
|
Alterian Email Manager 6.2.3 SDK Help File
Constructor for the thumbnail generator service process
Namespace:
DMLibraryAssembly:
DMLibrary (in DMLibrary.dll) Version: 1.0.6340.17420
Syntaxpublic 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
)
Public Sub New (
workingDirectory As String,
alertFile As String,
dbMainConnectionString As String,
serviceName As String,
maxTries As Integer,
pollingIntervalMS As Integer,
sizeX As Integer,
sizeY As Integer,
maxWaitForScreenshotMS As Integer,
maxQueueSize As Integer,
maxErrors As Integer,
maxMinBeforeRetry As Integer,
emProcessHeartBeat As IEMProcessHeartBeat
)
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
)
new :
workingDirectory : string *
alertFile : string *
dbMainConnectionString : string *
serviceName : string *
maxTries : int *
pollingIntervalMS : int *
sizeX : int *
sizeY : int *
maxWaitForScreenshotMS : int *
maxQueueSize : int *
maxErrors : int *
maxMinBeforeRetry : int *
emProcessHeartBeat : IEMProcessHeartBeat -> EMThumbnailGenerator
DMLibrary.EMThumbnailGenerator = function(workingDirectory, alertFile, dbMainConnectionString, serviceName, maxTries, pollingIntervalMS, sizeX, sizeY, maxWaitForScreenshotMS, maxQueueSize, maxErrors, maxMinBeforeRetry, 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