AppDomainInitializer 委托

定义

表示在应用程序域初始化时要调用的回调方法。Represents the callback method to invoke when the application domain is initialized.

public delegate void AppDomainInitializer(cli::array <System::String ^> ^ args);
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public delegate void AppDomainInitializer(string[] args);
type AppDomainInitializer = delegate of string[] -> unit
Public Delegate Sub AppDomainInitializer(args As String())

参数

args
String[]

作为参数传递给回调方法的字符串数组。An array of strings to pass as arguments to the callback method.

继承
AppDomainInitializer
属性

注解

使用委托来指定初始化AppDomain类的实例时要调用的回调方法。 AppDomainInitializerUse an AppDomainInitializer delegate to specify the callback method to invoke when an instance of the AppDomain class is initialized.

扩展方法

GetMethodInfo(Delegate)

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

适用于