WorkflowInstance.OnIdle Property (System.Activities)

Switch View :
ScriptFree
.NET Framework Class Library
WorkflowInstance.OnIdle Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets the Func<TResult> that is invoked when the workflow enters an idle state.

Namespace:  System.Activities
Assembly:  System.Activities (in System.Activities.dll)
Syntax

Visual Basic (Declaration)
Public Property OnIdle As Func(Of IdleAction)
	Get
	Set
Visual Basic (Usage)
Dim instance As WorkflowInstance
Dim value As Func(Of IdleAction)

value = instance.OnIdle

instance.OnIdle = value
C#
public Func<IdleAction> OnIdle { get; set; }
Visual C++
public:
property Func<IdleAction>^ OnIdle {
	Func<IdleAction>^ get ();
	void set (Func<IdleAction>^ value);
}
JScript
function get OnIdle () : Func<IdleAction>
function set OnIdle (value : Func<IdleAction>)
F#
member OnIdle : Func<IdleAction> with get, set

Property Value

Type: System.Func<IdleAction>
The Func<TResult> that is invoked when the workflow enters an idle state.
Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information

.NET Framework

Supported in: 4
See Also

Reference