Bewerken

Share via


WorkflowApplicationEventArgs Class

Definition

A base class for events associated with a WorkflowApplication .

public ref class WorkflowApplicationEventArgs : EventArgs
public class WorkflowApplicationEventArgs : EventArgs
type WorkflowApplicationEventArgs = class
    inherit EventArgs
Public Class WorkflowApplicationEventArgs
Inherits EventArgs
Inheritance
WorkflowApplicationEventArgs
Derived

Examples

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);
};

Remarks

WorkflowApplicationEventArgs is also used in the Unloaded handler of a WorkflowApplication instance.

Properties

InstanceId

The unique identifier of the workflow instance.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(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()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to