WorkflowApplicationEventArgs Class
A base class for events associated with a WorkflowApplication .
Assembly: System.Activities (in System.Activities.dll)
System::EventArgs
System.Activities::WorkflowApplicationEventArgs
System.Activities::WorkflowApplicationAbortedEventArgs
System.Activities::WorkflowApplicationCompletedEventArgs
System.Activities::WorkflowApplicationIdleEventArgs
System.Activities::WorkflowApplicationUnhandledExceptionEventArgs
| Name | Description | |
|---|---|---|
![]() | InstanceId | The unique identifier of the workflow instance. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetInstanceExtensions<T>() | Gets the collection of extensions of the specified type. |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
WorkflowApplicationEventArgs is also used in the Unloaded handler of a WorkflowApplication instance.
The following code example inspects the WorkflowApplicationEventArgs passed into the Unloaded handler of a WorkflowApplication instance and displays the InstanceId of the workflow that was unloaded.
wfApp.Unloaded = delegate(WorkflowApplicationEventArgs e) { Console.WriteLine("Workflow {0} unloaded.", e.InstanceId); };
Available since 4.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


