29 [SecuritySafeCritical]
32 if (activationContext ==
null)
39 return new ObjectHandle(manifestRunner.ExecuteAsAssembly());
53 [SecuritySafeCritical]
The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method th...
Encapsulates security decisions about an application. This class cannot be inherited.
virtual ApplicationTrust DetermineApplicationTrust(Evidence applicationEvidence, Evidence activatorEvidence, TrustManagerContext context)
Determines whether an application should be executed.
string AppDomainManagerAssembly
Gets or sets the display name of the assembly that provides the type of the application domain manage...
virtual ObjectHandle CreateInstance(ActivationContext activationContext, string[] activationCustomData)
Creates an instance of the application to be activated, using the specified activation context and cu...
Identifies the activation context for the current application. This class cannot be inherited.
ActivationArguments ActivationArguments
Gets or sets data about the activation of an application domain.
Stores all relevant information required to generate a proxy in order to communicate with a remote ob...
ActivationContext ActivationContext
Gets the activation context for the current application domain.
Evidence Evidence
Gets the T:System.Security.Policy.Evidence associated with this application domain.
static AppDomain CurrentDomain
Gets the current application domain for the current T:System.Threading.Thread.
Represents an application domain, which is an isolated environment where applications execute....
Represents assembly binding information that can be added to an instance of T:System....
Represents the context for the trust manager to consider when making the decision to run an applicati...
Provides information about, and means to manipulate, the current environment and platform....
string AppDomainManagerType
Gets or sets the full name of the type that provides the application domain manager for application d...
AppDomainSetup SetupInformation
Gets the application domain configuration information for this instance.
static ObjectHandle CreateInstanceHelper(AppDomainSetup adSetup)
Creates an instance of an application using the specified T:System.AppDomainSetup object.
Wraps marshal-by-value object references, allowing them to be returned through an indirection.
virtual ObjectHandle CreateInstance(ActivationContext activationContext)
Creates an instance of the application to be activated, using the specified activation context.
bool IsApplicationTrustedToRun
Gets or sets a value indicating whether the application has the required permission grants and is tru...
Provides data for manifest-based activation of an application. This class cannot be inherited.
The exception that is thrown when one of the arguments provided to a method is not valid.
static object Unmarshal(ObjRef objectRef)
Takes a T:System.Runtime.Remoting.ObjRef and creates a proxy object out of it.
Defines the set of information that constitutes input to security policy decisions....
Provides the base class for the activation of manifest-based assemblies.
Provides several methods for using and publishing remoted objects and proxies. This class cannot be i...
The exception that is thrown when policy forbids code to run.
Allows the control and customization of security behavior for application domains.