ObjectMaterializedEventHandler 委托

定义

表示将处理 ObjectMaterializedObjectContext 事件的方法。Represents the method that will handle the ObjectMaterialized event of the ObjectContext.

public delegate void ObjectMaterializedEventHandler(System::Object ^ sender, ObjectMaterializedEventArgs ^ e);
public delegate void ObjectMaterializedEventHandler(object sender, ObjectMaterializedEventArgs e);
type ObjectMaterializedEventHandler = delegate of obj * ObjectMaterializedEventArgs -> unit
Public Delegate Sub ObjectMaterializedEventHandler(sender As Object, e As ObjectMaterializedEventArgs)

参数

sender
Object

触发事件的 ObjectContext 实例。The ObjectContext instance that triggered the event.

e
ObjectMaterializedEventArgs

包含事件数据的 ObjectMaterializedEventArgs 对象。An ObjectMaterializedEventArgs object that contains the event data.

继承
ObjectMaterializedEventHandler

扩展方法

GetMethodInfo(Delegate)

获取指示指定委托表示的方法的对象。Gets an object that represents the method represented by the specified delegate.

适用于