Edit

Share via


WorkflowMarkupSerializer.GetEvents Method

Definition

Retrieves information about all events associated with the specified Object.

protected public:
 virtual cli::array <System::Reflection::EventInfo ^> ^ GetEvents(System::Workflow::ComponentModel::Serialization::WorkflowMarkupSerializationManager ^ serializationManager, System::Object ^ obj);
protected internal virtual System.Reflection.EventInfo[] GetEvents (System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationManager serializationManager, object obj);
abstract member GetEvents : System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationManager * obj -> System.Reflection.EventInfo[]
override this.GetEvents : System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationManager * obj -> System.Reflection.EventInfo[]
Protected Friend Overridable Function GetEvents (serializationManager As WorkflowMarkupSerializationManager, obj As Object) As EventInfo()

Parameters

serializationManager
WorkflowMarkupSerializationManager

The WorkflowMarkupSerializationManager that manages the deserialization process.

obj
Object

The Object to search for event objects.

Returns

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

Exceptions

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

Applies to