IsHandlerThread Method

MS Activities Extensions

Collapse imageExpand ImageCopy imageCopyHover image
Gets a value that determines if a workflow is in a handler thread

Namespace: Microsoft.Activities.Extensions
Assembly: Microsoft.Activities.Extensions (in Microsoft.Activities.Extensions.dll) Version: 2.0.6.9 (2.0.6.9)

Syntax

C#
public static bool IsHandlerThread(
	this WorkflowApplication workflowApplication
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function IsHandlerThread ( _
	workflowApplication As WorkflowApplication _
) As Boolean
Visual C++
public:
[ExtensionAttribute]
static bool IsHandlerThread(
	WorkflowApplication^ workflowApplication
)

Parameters

workflowApplication
Type: System.Activities..::..WorkflowApplication
The workflow application.

Return Value

true if in a handler thread

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type WorkflowApplication. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also