Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
Previous Versions
.NET Framework 3.0
Class Library
 MaxSimultaneousWorkflows Property
Collapse All/Expand All Collapse All
This page is specific to
.NET Framework 3.0

Other versions are also available for the following:
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)

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.

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.

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.

.NET Framework

Supported in: 3.0
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker