WorkflowMarkupSerializer.GetEvents Method (WorkflowMarkupSerializationManager, Object)

 

Retrieves information about all events associated with the specified Object.

Namespace:   System.Workflow.ComponentModel.Serialization
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

protected internal virtual EventInfo[] GetEvents(
	WorkflowMarkupSerializationManager serializationManager,
	object obj
)

Parameters

serializationManager
Type: System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationManager

The WorkflowMarkupSerializationManager that manages the deserialization process.

obj
Type: System.Object

The Object to search for event objects.

Return Value

Type: System.Reflection.EventInfo[]

An EventInfo array that contains information about the events associated with obj.

Exception Condition
ArgumentNullException

serializationManager or obj contains a null reference (Nothing in Visual Basic).

.NET Framework
Available since 3.0
Return to top
Show: