Gets or sets the AppDomainInitializer delegate, which represents a callback method that is invoked when the application domain is initialized.
Assembly: mscorlib (in mscorlib.dll)
The following example creates a child application domain named ChildDomain, using an AppDomainSetup object and evidence from the default application domain. The property is set to the callback method AppDomainInit, which is invoked when the child domain is initialized. The arguments for the callback method are placed in an array of strings, which is assigned to the AppDomainInitializerArguments property. When the child domain is created, the callback method simply prints the strings.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2