DefaultWorkflowSchedulerService.MaxSimultaneousWorkflows Property
Gets the maximum number of workflow instances that can be stored in the thread pool queue.

Namespace: System.Workflow.Runtime.Hosting
Assembly: System.Workflow.Runtime (in system.workflow.runtime.dll)

Syntax

Visual Basic (Declaration)
Public ReadOnly Property MaxSimultaneousWorkflows As Integer
Visual Basic (Usage)
Dim instance As DefaultWorkflowSchedulerService
Dim value As Integer

value = instance.MaxSimultaneousWorkflows
C#
public int MaxSimultaneousWorkflows { get; }
C++
public:
property int MaxSimultaneousWorkflows {
    int get ();
}
J#
/** @property */
public int get_MaxSimultaneousWorkflows ()
JScript
public function get MaxSimultaneousWorkflows () : int
XAML
Not applicable.

Property Value

An integer that represents the maximum number of workflow instances that can be stored in the thread pool queue.
Remarks

The default value for this method is 5 for a single-processor machine, and (int)(5 * Environment.ProcessorCount * .8) for a multiple-processor machine. Note that (int)(5 * Environment.ProcessorCount * .8) isn't always the same as (int)(4 * Environment.ProcessorCount), because of the rules of integer arithmetic.

Platforms

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0
See Also

Tags :


Page view tracker