WorkflowHostInitialize(String, String, String, UInt32, UInt32, UInt32) Method |
Initialize the workflow host specifying default credentials for SOM sessions created for timers. This includes setting up timers for pending timeouts in currently persisted workflows.
Namespace: Scanjour.Workflow4.HostAssembly: Scanjour.Workflow4.Host (in Scanjour.Workflow4.Host.dll) Version: 24.5.0.0 (24.5.0.0)
Syntaxpublic void Initialize(
string logOnUserName,
string logOnPassword,
string serverNamePostfix,
uint maxTimerMilliseconds,
uint watchInterval = 0,
uint watchDelay = 0
)
Public Sub Initialize (
logOnUserName As String,
logOnPassword As String,
serverNamePostfix As String,
maxTimerMilliseconds As UInteger,
Optional watchInterval As UInteger = 0,
Optional watchDelay As UInteger = 0
)
public:
void Initialize(
String^ logOnUserName,
String^ logOnPassword,
String^ serverNamePostfix,
unsigned int maxTimerMilliseconds,
unsigned int watchInterval = 0,
unsigned int watchDelay = 0
)
member Initialize :
logOnUserName : string *
logOnPassword : string *
serverNamePostfix : string *
maxTimerMilliseconds : uint32 *
?watchInterval : uint32 *
?watchDelay : uint32
(* Defaults:
let _watchInterval = defaultArg watchInterval 0
let _watchDelay = defaultArg watchDelay 0
*)
-> unit
Parameters
- logOnUserName String
- The logon user name to be used when the WorkflowHost creates new SOM sessions
- logOnPassword String
- The logon password to be used when the WorkflowHost creates new SOM sessions
- serverNamePostfix String
- A name that will be used as postfix for the server name for the WorkflowHost
- maxTimerMilliseconds UInt32
- The maximum delay allowed in milliseconds for resuming a workflow instance
- watchInterval UInt32 (Optional)
- The interval between searches for lost workflow instances.
- watchDelay UInt32 (Optional)
- The time period passed before a workflow instance is considered lost.
See Also