Represents assembly binding information that can be added to an instance of AppDomain.
public ref class AppDomainSetup sealed
public ref class AppDomainSetup sealed : IAppDomainSetup
public sealed class AppDomainSetup
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Serializable]
public sealed class AppDomainSetup : IAppDomainSetup
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class AppDomainSetup : IAppDomainSetup
type AppDomainSetup = class
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Serializable>]
type AppDomainSetup = class
interface IAppDomainSetup
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type AppDomainSetup = class
interface IAppDomainSetup
Public NotInheritable Class AppDomainSetup
Public NotInheritable Class AppDomainSetup
Implements IAppDomainSetup
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 CreateDomain method is called with the AppDomainSetup instance as a parameter.
This class implements the IAppDomainSetup interface.
Caution
The default value for the DisallowCodeDownload property is false. This setting is unsafe for services. To help prevent services from downloading partially trusted code, set this property to true
Constructors Properties ActivationArgumentsGets or sets data about the activation of an application domain.
AppDomainInitializerGets or sets the AppDomainInitializer delegate, which represents a callback method that is invoked when the application domain is initialized.
AppDomainInitializerArgumentsGets or sets the arguments passed to the callback method represented by the AppDomainInitializer delegate. The callback method is invoked when the application domain is initialized.
AppDomainManagerAssemblyGets or sets the display name of the assembly that provides the type of the application domain manager for application domains created using this AppDomainSetup object.
AppDomainManagerTypeGets or sets the full name of the type that provides the application domain manager for application domains created using this AppDomainSetup object.
ApplicationBaseGets the name of the directory containing the application.
ApplicationNameGets or sets the name of the application.
ApplicationTrustGets or sets an object containing security and trust information.
CachePathGets or sets the name of an area specific to the application where files are shadow copied.
ConfigurationFileGets or sets the name of the configuration file for an application domain.
DisallowApplicationBaseProbingSpecifies whether the application base path and private binary path are probed when searching for assemblies to load.
DisallowBindingRedirectsGets or sets a value that indicates whether an application domain allows assembly binding redirection.
DisallowCodeDownloadGets or sets a value that indicates whether HTTP download of assemblies is allowed for an application domain.
DisallowPublisherPolicyGets or sets a value that indicates whether the <publisherPolicy> section of the configuration file is applied to an application domain.
DynamicBaseGets or sets the base directory where the directory for dynamically generated files is located.
LicenseFileGets or sets the location of the license file associated with this domain.
LoaderOptimizationSpecifies the optimization policy used to load an executable.
PartialTrustVisibleAssembliesGets or sets a list of assemblies marked with the NotVisibleByDefault flag that are made visible to partial-trust code running in a sandboxed application domain.
PrivateBinPathGets or sets the list of directories under the application base directory that are probed for private assemblies.
PrivateBinPathProbeGets or sets a string value that includes or excludes ApplicationBase from the search path for the application, and searches only PrivateBinPath.
SandboxInteropGets or sets a value that indicates whether interface caching is disabled for interop calls in the application domain, so that a QueryInterface
is performed on each call.
Gets or sets the names of the directories containing assemblies to be shadow copied.
ShadowCopyFilesGets or sets a string that indicates whether shadow copying is turned on or off.
TargetFrameworkNameGets (or, in .NET Framework, sets) a string that specifies the target framework in a format that can be parsed by the FrameworkName(String) constructor.
Methods See alsoCollaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this articleWas this page helpful?
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4