ExternalDataEventArgs Constructor (Guid, IPendingWork, Object, Boolean)

 

Initializes a new instance of the ExternalDataEventArgs class.

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

public ExternalDataEventArgs(
	Guid instanceId,
	IPendingWork workHandler,
	object workItem,
	bool waitForIdle
)

Parameters

instanceId
Type: System.Guid

The workflow instance identifier for the workflow instance that contains the HandleExternalEventActivity that is expected to handle the event.

workHandler
Type: System.Workflow.Runtime.IPendingWork

The IPendingWork to allow the external code that raises the event to participate in the batch.

workItem
Type: System.Object

The object that contains the external code that raises the event.

waitForIdle
Type: System.Boolean

A value that indicates whether the workflow should go idle before raising the event; otherwise, false.

.NET Framework
Available since 3.0
Return to top
Show: