mscorlib(4.0.0.0) API with additions
|
Provides a managed equivalent of an unmanaged host. More...
Public Member Functions | |
virtual AppDomain | CreateDomain (string friendlyName, Evidence securityInfo, AppDomainSetup appDomainInfo) |
Returns a new or existing application domain. More... | |
virtual void | InitializeNewDomain (AppDomainSetup appDomainInfo) |
Initializes the new application domain. More... | |
virtual bool | CheckSecuritySettings (SecurityState state) |
Indicates whether the specified operation is allowed in the application domain. More... | |
![]() | |
object | GetLifetimeService () |
Retrieves the current lifetime service object that controls the lifetime policy for this instance. More... | |
virtual object | InitializeLifetimeService () |
Obtains a lifetime service object to control the lifetime policy for this instance. More... | |
virtual ObjRef | CreateObjRef (Type requestedType) |
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. More... | |
Public Attributes | |
virtual HostSecurityManager | HostSecurityManager => null |
Gets the host security manager that participates in security decisions for the application domain. More... | |
virtual HostExecutionContextManager | HostExecutionContextManager => HostExecutionContextManager.GetInternalHostExecutionContextManager() |
Gets the host execution context manager that manages the flow of the execution context. More... | |
Static Protected Member Functions | |
static AppDomain | CreateDomainHelper (string friendlyName, Evidence securityInfo, AppDomainSetup appDomainInfo) |
Provides a helper method to create an application domain. More... | |
Properties | |
AppDomainManagerInitializationOptions | InitializationFlags [get, set] |
Gets the initialization flags for custom application domain managers. More... | |
virtual ApplicationActivator | ApplicationActivator [get] |
Gets the application activator that handles the activation of add-ins and manifest-based applications for the domain. More... | |
virtual Assembly | EntryAssembly [get] |
Gets the entry assembly for an application. More... | |
Additional Inherited Members | |
![]() | |
MarshalByRefObject | MemberwiseClone (bool cloneIdentity) |
Creates a shallow copy of the current T:System.MarshalByRefObject object. More... | |
Provides a managed equivalent of an unmanaged host.
T:System.Security.SecurityException | The caller does not have the correct permissions. See the Requirements section. |
Definition at line 17 of file AppDomainManager.cs.
|
virtual |
Indicates whether the specified operation is allowed in the application domain.
state | A subclass of T:System.Security.SecurityState that identifies the operation whose security status is requested. |
true
if the host allows the operation specified by state to be performed in the application domain; otherwise, false
.Definition at line 165 of file AppDomainManager.cs.
|
virtual |
Returns a new or existing application domain.
friendlyName | The friendly name of the domain. |
securityInfo | An object that contains evidence mapped through the security policy to establish a top-of-stack permission set. |
appDomainInfo | An object that contains application domain initialization information. |
Definition at line 102 of file AppDomainManager.cs.
|
staticprotected |
Provides a helper method to create an application domain.
friendlyName | The friendly name of the domain. |
securityInfo | An object that contains evidence mapped through the security policy to establish a top-of-stack permission set. |
appDomainInfo | An object that contains application domain initialization information. |
T:System.ArgumentNullException | friendlyName is null . |
Definition at line 116 of file AppDomainManager.cs.
|
virtual |
Initializes the new application domain.
appDomainInfo | An object that contains application domain initialization information. |
Definition at line 153 of file AppDomainManager.cs.
virtual HostExecutionContextManager System.AppDomainManager.HostExecutionContextManager => HostExecutionContextManager.GetInternalHostExecutionContextManager() |
Gets the host execution context manager that manages the flow of the execution context.
Definition at line 59 of file AppDomainManager.cs.
virtual HostSecurityManager System.AppDomainManager.HostSecurityManager => null |
Gets the host security manager that participates in security decisions for the application domain.
Definition at line 55 of file AppDomainManager.cs.
|
get |
Gets the application activator that handles the activation of add-ins and manifest-based applications for the domain.
Definition at line 42 of file AppDomainManager.cs.
|
get |
Gets the entry assembly for an application.
Definition at line 64 of file AppDomainManager.cs.
|
getset |
Gets the initialization flags for custom application domain managers.
Definition at line 28 of file AppDomainManager.cs.