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);
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Serializable>]
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 委派來指定當初始化類別的實例時,要叫用的回呼方法 AppDomainUse 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.

適用於