CustomBuildEventHandler 委托

定义

表示将处理生成过程中的 CustomEventRaised 事件的方法。Represents the method that will handle the CustomEventRaised event of a build.

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

参数

sender
Object

事件源。The source of the event.

e
CustomBuildEventArgs

包含事件数据的 CustomBuildEventArgsA CustomBuildEventArgs that contains the event data.

继承
CustomBuildEventHandler

扩展方法

GetMethodInfo(Delegate)

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

适用于