Condividi tramite


WorkflowMarkupSerializer.GetEvents Metodo

Definizione

Recupera informazioni su tutti gli eventi associati all'oggetto con l’elemento Object specificato.

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

Parametri

serializationManager
WorkflowMarkupSerializationManager

Elemento WorkflowMarkupSerializationManager che gestisce il processo di deserializzazione.

obj
Object

Elemento Object per la ricerca di oggetti evento.

Restituisce

EventInfo[]

Matrice EventInfo contenente le informazioni relative agli eventi associati a obj.

Eccezioni

serializationManager o obj contiene un riferimento null (Nothing in Visual Basic).

Si applica a