Click to Rate and Give Feedback
MSDN
MSDN Library
Collapse All/Expand All Collapse All
.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<(Of <(TResult>)>) that is invoked when the workflow enters an idle state.

Namespace:  System.Activities
Assembly:  System.Activities (in System.Activities.dll)
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<(Of <(IdleAction>)>)
The Func<(Of <(TResult>)>) that is invoked when the workflow enters an idle state.

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.

.NET Framework

Supported in: 4
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker