System.AppDomainSetup Class

Represents assembly binding information that can be added to an instance of AppDomain.

See Also: AppDomainSetup Members

Syntax

[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class AppDomainSetup : IAppDomainSetup

Remarks

Changing the properties of an AppDomainSetup instance does not affect any existing AppDomain. It can affect only the creation of a new AppDomain, when the AppDomain.CreateDomain(string, System.Security.Policy.Evidence) method is called with the AppDomainSetup instance as a parameter.

This class implements the IAppDomainSetup interface.

Note:

The default value for the AppDomainSetup.DisallowCodeDownload property is false. This setting is unsafe for services. To help prevent services from downloading partially trusted code, set this property to true

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0