mscorlib(4.0.0.0) API with additions
|
Exposes the public members of the T:System.AppDomain class to unmanaged code. More...
Public Member Functions | |
void | GetTypeInfoCount (out uint pcTInfo) |
Retrieves the number of type information interfaces that an object provides (either 0 or 1). More... | |
void | GetTypeInfo (uint iTInfo, uint lcid, IntPtr ppTInfo) |
Retrieves the type information for an object, which can then be used to get the type information for an interface. More... | |
void | GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId) |
Maps a set of names to a corresponding set of dispatch identifiers. More... | |
void | Invoke (uint dispIdMember, [In] ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr) |
Provides access to properties and methods exposed by an object. More... | |
new string | ToString () |
Provides COM objects with version-independent access to the M:System.AppDomain.ToString method. More... | |
new bool | Equals (object other) |
Provides COM objects with version-independent access to the inherited M:System.Object.Equals(System.Object) method. More... | |
new int | GetHashCode () |
Provides COM objects with version-independent access to the inherited M:System.Object.GetHashCode method. More... | |
new Type | GetType () |
Provides COM objects with version-independent access to the M:System.AppDomain.GetType method. More... | |
object | InitializeLifetimeService () |
Provides COM objects with version-independent access to the M:System.AppDomain.InitializeLifetimeService method. More... | |
object | GetLifetimeService () |
Provides COM objects with version-independent access to the inherited M:System.MarshalByRefObject.GetLifetimeService method. More... | |
AssemblyBuilder | DefineDynamicAssembly (AssemblyName name, AssemblyBuilderAccess access) |
Provides COM objects with version-independent access to the M:System.AppDomain.DefineDynamicAssembly(System.Reflection.AssemblyName,System.Reflection.Emit.AssemblyBuilderAccess) method overload. More... | |
AssemblyBuilder | DefineDynamicAssembly (AssemblyName name, AssemblyBuilderAccess access, string dir) |
Provides COM objects with version-independent access to the M:System.AppDomain.DefineDynamicAssembly(System.Reflection.AssemblyName,System.Reflection.Emit.AssemblyBuilderAccess,System.String) method overload. More... | |
AssemblyBuilder | DefineDynamicAssembly (AssemblyName name, AssemblyBuilderAccess access, Evidence evidence) |
Provides COM objects with version-independent access to the M:System.AppDomain.DefineDynamicAssembly(System.Reflection.AssemblyName,System.Reflection.Emit.AssemblyBuilderAccess,System.Security.Policy.Evidence) method overload. More... | |
AssemblyBuilder | DefineDynamicAssembly (AssemblyName name, AssemblyBuilderAccess access, PermissionSet requiredPermissions, PermissionSet optionalPermissions, PermissionSet refusedPermissions) |
Provides COM objects with version-independent access to the M:System.AppDomain.DefineDynamicAssembly(System.Reflection.AssemblyName,System.Reflection.Emit.AssemblyBuilderAccess,System.Security.PermissionSet,System.Security.PermissionSet,System.Security.PermissionSet) method overload. More... | |
AssemblyBuilder | DefineDynamicAssembly (AssemblyName name, AssemblyBuilderAccess access, string dir, Evidence evidence) |
Provides COM objects with version-independent access to the M:System.AppDomain.DefineDynamicAssembly(System.Reflection.AssemblyName,System.Reflection.Emit.AssemblyBuilderAccess,System.String,System.Security.Policy.Evidence) method overload. More... | |
AssemblyBuilder | DefineDynamicAssembly (AssemblyName name, AssemblyBuilderAccess access, string dir, PermissionSet requiredPermissions, PermissionSet optionalPermissions, PermissionSet refusedPermissions) |
Provides COM objects with version-independent access to the M:System.AppDomain.DefineDynamicAssembly(System.Reflection.AssemblyName,System.Reflection.Emit.AssemblyBuilderAccess,System.String,System.Security.PermissionSet,System.Security.PermissionSet,System.Security.PermissionSet) method overload. More... | |
AssemblyBuilder | DefineDynamicAssembly (AssemblyName name, AssemblyBuilderAccess access, Evidence evidence, PermissionSet requiredPermissions, PermissionSet optionalPermissions, PermissionSet refusedPermissions) |
Provides COM objects with version-independent access to the M:System.AppDomain.DefineDynamicAssembly(System.Reflection.AssemblyName,System.Reflection.Emit.AssemblyBuilderAccess,System.Security.Policy.Evidence,System.Security.PermissionSet,System.Security.PermissionSet,System.Security.PermissionSet) method overload. More... | |
AssemblyBuilder | DefineDynamicAssembly (AssemblyName name, AssemblyBuilderAccess access, string dir, Evidence evidence, PermissionSet requiredPermissions, PermissionSet optionalPermissions, PermissionSet refusedPermissions) |
Provides COM objects with version-independent access to the M:System.AppDomain.DefineDynamicAssembly(System.Reflection.AssemblyName,System.Reflection.Emit.AssemblyBuilderAccess,System.String,System.Security.Policy.Evidence,System.Security.PermissionSet,System.Security.PermissionSet,System.Security.PermissionSet) method overload. More... | |
AssemblyBuilder | DefineDynamicAssembly (AssemblyName name, AssemblyBuilderAccess access, string dir, Evidence evidence, PermissionSet requiredPermissions, PermissionSet optionalPermissions, PermissionSet refusedPermissions, bool isSynchronized) |
Provides COM objects with version-independent access to the M:System.AppDomain.DefineDynamicAssembly(System.Reflection.AssemblyName,System.Reflection.Emit.AssemblyBuilderAccess,System.String,System.Security.Policy.Evidence,System.Security.PermissionSet,System.Security.PermissionSet,System.Security.PermissionSet,System.Boolean) method overload. More... | |
ObjectHandle | CreateInstance (string assemblyName, string typeName) |
Provides COM objects with version-independent access to the M:System.AppDomain.CreateInstance(System.String,System.String) method. More... | |
ObjectHandle | CreateInstanceFrom (string assemblyFile, string typeName) |
Provides COM objects with version-independent access to the M:System.AppDomain.CreateInstanceFrom(System.String,System.String) method overload. More... | |
ObjectHandle | CreateInstance (string assemblyName, string typeName, object[] activationAttributes) |
Provides COM objects with version-independent access to the M:System.AppDomain.CreateInstance(System.String,System.String,System.Object[]) method overload. More... | |
ObjectHandle | CreateInstanceFrom (string assemblyFile, string typeName, object[] activationAttributes) |
Provides COM objects with version-independent access to the M:System.AppDomain.CreateInstanceFrom(System.String,System.String,System.Object[]) method overload. More... | |
ObjectHandle | CreateInstance (string assemblyName, string typeName, bool ignoreCase, BindingFlags bindingAttr, Binder binder, object[] args, CultureInfo culture, object[] activationAttributes, Evidence securityAttributes) |
Provides COM objects with version-independent access to the M:System.AppDomain.CreateInstance(System.String,System.String,System.Boolean,System.Reflection.BindingFlags,System.Reflection.Binder,System.Object[],System.Globalization.CultureInfo,System.Object[],System.Security.Policy.Evidence) method overload. More... | |
ObjectHandle | CreateInstanceFrom (string assemblyFile, string typeName, bool ignoreCase, BindingFlags bindingAttr, Binder binder, object[] args, CultureInfo culture, object[] activationAttributes, Evidence securityAttributes) |
Provides COM objects with version-independent access to the M:System.AppDomain.CreateInstanceFrom(System.String,System.String,System.Boolean,System.Reflection.BindingFlags,System.Reflection.Binder,System.Object[],System.Globalization.CultureInfo,System.Object[],System.Security.Policy.Evidence) method overload. More... | |
Assembly | Load (AssemblyName assemblyRef) |
Provides COM objects with version-independent access to the M:System.AppDomain.Load(System.Reflection.AssemblyName) method overload. More... | |
Assembly | Load (string assemblyString) |
Provides COM objects with version-independent access to the M:System.AppDomain.Load(System.String) method overload. More... | |
Assembly | Load (byte[] rawAssembly) |
Provides COM objects with version-independent access to the M:System.AppDomain.Load(System.Byte[]) method overload. More... | |
Assembly | Load (byte[] rawAssembly, byte[] rawSymbolStore) |
Provides COM objects with version-independent access to the M:System.AppDomain.Load(System.Byte[],System.Byte[]) method overload. More... | |
Assembly | Load (byte[] rawAssembly, byte[] rawSymbolStore, Evidence securityEvidence) |
Provides COM objects with version-independent access to the M:System.AppDomain.Load(System.Byte[],System.Byte[],System.Security.Policy.Evidence) method overload. More... | |
Assembly | Load (AssemblyName assemblyRef, Evidence assemblySecurity) |
Provides COM objects with version-independent access to the M:System.AppDomain.Load(System.Reflection.AssemblyName,System.Security.Policy.Evidence) method overload. More... | |
Assembly | Load (string assemblyString, Evidence assemblySecurity) |
Provides COM objects with version-independent access to the M:System.AppDomain.Load(System.String,System.Security.Policy.Evidence) method overload. More... | |
int | ExecuteAssembly (string assemblyFile, Evidence assemblySecurity) |
Provides COM objects with version-independent access to the M:System.AppDomain.ExecuteAssembly(System.String,System.Security.Policy.Evidence) method overload. More... | |
int | ExecuteAssembly (string assemblyFile) |
Provides COM objects with version-independent access to the M:System.AppDomain.ExecuteAssembly(System.String) method overload. More... | |
int | ExecuteAssembly (string assemblyFile, Evidence assemblySecurity, string[] args) |
Provides COM objects with version-independent access to the M:System.AppDomain.ExecuteAssembly(System.String,System.Security.Policy.Evidence,System.String[]) method overload. More... | |
Assembly [] | GetAssemblies () |
Provides COM objects with version-independent access to the M:System.AppDomain.GetAssemblies method. More... | |
void | AppendPrivatePath (string path) |
Provides COM objects with version-independent access to the M:System.AppDomain.AppendPrivatePath(System.String) method. More... | |
void | ClearPrivatePath () |
Provides COM objects with version-independent access to the M:System.AppDomain.ClearPrivatePath method. More... | |
void | SetShadowCopyPath (string s) |
Provides COM objects with version-independent access to the M:System.AppDomain.SetShadowCopyPath(System.String) method. More... | |
void | ClearShadowCopyPath () |
Provides COM objects with version-independent access to the M:System.AppDomain.ClearShadowCopyPath method. More... | |
void | SetCachePath (string s) |
Provides COM objects with version-independent access to the M:System.AppDomain.SetCachePath(System.String) method. More... | |
void | SetData (string name, object data) |
Provides COM objects with version-independent access to the M:System.AppDomain.SetData(System.String,System.Object) method. More... | |
object | GetData (string name) |
Provides COM objects with version-independent access to the M:System.AppDomain.GetData(System.String) method. More... | |
void | SetAppDomainPolicy (PolicyLevel domainPolicy) |
Provides COM objects with version-independent access to the M:System.AppDomain.SetAppDomainPolicy(System.Security.Policy.PolicyLevel) method. More... | |
void | SetThreadPrincipal (IPrincipal principal) |
Provides COM objects with version-independent access to the M:System.AppDomain.SetThreadPrincipal(System.Security.Principal.IPrincipal) method. More... | |
void | SetPrincipalPolicy (PrincipalPolicy policy) |
Provides COM objects with version-independent access to the M:System.AppDomain.SetPrincipalPolicy(System.Security.Principal.PrincipalPolicy) method. More... | |
void | DoCallBack (CrossAppDomainDelegate theDelegate) |
Provides COM objects with version-independent access to the M:System.AppDomain.DoCallBack(System.CrossAppDomainDelegate) method. More... | |
Properties | |
Evidence | Evidence [get] |
Provides COM objects with version-independent access to the P:System.AppDomain.Evidence property. More... | |
string | FriendlyName [get] |
Provides COM objects with version-independent access to the P:System.AppDomain.FriendlyName property. More... | |
string | BaseDirectory [get] |
Provides COM objects with version-independent access to the P:System.AppDomain.BaseDirectory property. More... | |
string | RelativeSearchPath [get] |
Provides COM objects with version-independent access to the P:System.AppDomain.RelativeSearchPath property. More... | |
bool | ShadowCopyFiles [get] |
Provides COM objects with version-independent access to the P:System.AppDomain.ShadowCopyFiles property. More... | |
string | DynamicDirectory [get] |
Provides COM objects with version-independent access to the P:System.AppDomain.DynamicDirectory property. More... | |
Events | |
EventHandler | DomainUnload |
Provides COM objects with version-independent access to the E:System.AppDomain.DomainUnload event. More... | |
AssemblyLoadEventHandler | AssemblyLoad |
Provides COM objects with version-independent access to the E:System.AppDomain.AssemblyLoad event. More... | |
EventHandler | ProcessExit |
Provides COM objects with version-independent access to the E:System.AppDomain.ProcessExit event. More... | |
ResolveEventHandler | TypeResolve |
Provides COM objects with version-independent access to the E:System.AppDomain.TypeResolve event. More... | |
ResolveEventHandler | ResourceResolve |
Provides COM objects with version-independent access to the E:System.AppDomain.ResourceResolve event. More... | |
ResolveEventHandler | AssemblyResolve |
Provides COM objects with version-independent access to the E:System.AppDomain.AssemblyResolve event. More... | |
UnhandledExceptionEventHandler | UnhandledException |
Provides COM objects with version-independent access to the E:System.AppDomain.UnhandledException event. More... | |
Exposes the public members of the T:System.AppDomain class to unmanaged code.
Definition at line 17 of file _AppDomain.cs.
void System._AppDomain.AppendPrivatePath | ( | string | path | ) |
Provides COM objects with version-independent access to the M:System.AppDomain.AppendPrivatePath(System.String) method.
path | The name of the directory to be appended to the private path. |
Implemented in System.AppDomain.
void System._AppDomain.ClearPrivatePath | ( | ) |
Provides COM objects with version-independent access to the M:System.AppDomain.ClearPrivatePath method.
Implemented in System.AppDomain.
void System._AppDomain.ClearShadowCopyPath | ( | ) |
Provides COM objects with version-independent access to the M:System.AppDomain.ClearShadowCopyPath method.
Implemented in System.AppDomain.
ObjectHandle System._AppDomain.CreateInstance | ( | string | assemblyName, |
string | typeName | ||
) |
Provides COM objects with version-independent access to the M:System.AppDomain.CreateInstance(System.String,System.String) method.
assemblyName | The display name of the assembly. See P:System.Reflection.Assembly.FullName. |
typeName | The fully qualified name of the requested type, including the namespace but not the assembly, as returned by the P:System.Type.FullName property. |
Implemented in System.AppDomain.
ObjectHandle System._AppDomain.CreateInstance | ( | string | assemblyName, |
string | typeName, | ||
object [] | activationAttributes | ||
) |
Provides COM objects with version-independent access to the M:System.AppDomain.CreateInstance(System.String,System.String,System.Object[]) method overload.
assemblyName | The display name of the assembly. See P:System.Reflection.Assembly.FullName. |
typeName | The fully qualified name of the requested type, including the namespace but not the assembly, as returned by the P:System.Type.FullName property. |
activationAttributes | An array of one or more attributes that can participate in activation. Typically, an array that contains a single T:System.Runtime.Remoting.Activation.UrlAttribute object. The T:System.Runtime.Remoting.Activation.UrlAttribute specifies the URL that is required to activate a remote object. |
Implemented in System.AppDomain.
ObjectHandle System._AppDomain.CreateInstance | ( | string | assemblyName, |
string | typeName, | ||
bool | ignoreCase, | ||
BindingFlags | bindingAttr, | ||
Binder | binder, | ||
object [] | args, | ||
CultureInfo | culture, | ||
object [] | activationAttributes, | ||
Evidence | securityAttributes | ||
) |
Provides COM objects with version-independent access to the M:System.AppDomain.CreateInstance(System.String,System.String,System.Boolean,System.Reflection.BindingFlags,System.Reflection.Binder,System.Object[],System.Globalization.CultureInfo,System.Object[],System.Security.Policy.Evidence) method overload.
assemblyName | The display name of the assembly. See P:System.Reflection.Assembly.FullName. |
typeName | The fully qualified name of the requested type, including the namespace but not the assembly, as returned by the P:System.Type.FullName property. |
ignoreCase | A Boolean value specifying whether to perform a case-sensitive search or not. |
bindingAttr | A combination of zero or more bit flags that affect the search for the typeName constructor. If bindingAttr is zero, a case-sensitive search for public constructors is conducted. |
binder | An object that enables the binding, coercion of argument types, invocation of members, and retrieval of T:System.Reflection.MemberInfo objects using reflection. If binder is null, the default binder is used. |
args | The arguments to pass to the constructor. This array of arguments must match in number, order, and type the parameters of the constructor to invoke. If the default constructor is preferred, args must be an empty array or null. |
culture | Culture-specific information that governs the coercion of args to the formal types declared for the typeName constructor. If culture is null , the T:System.Globalization.CultureInfo for the current thread is used. |
activationAttributes | An array of one or more attributes that can participate in activation. Typically, an array that contains a single T:System.Runtime.Remoting.Activation.UrlAttribute object. The T:System.Runtime.Remoting.Activation.UrlAttribute specifies the URL that is required to activate a remote object. |
securityAttributes | Information used to authorize creation of typeName . |
Implemented in System.AppDomain.
ObjectHandle System._AppDomain.CreateInstanceFrom | ( | string | assemblyFile, |
string | typeName | ||
) |
Provides COM objects with version-independent access to the M:System.AppDomain.CreateInstanceFrom(System.String,System.String) method overload.
assemblyFile | The name, including the path, of a file that contains an assembly that defines the requested type. The assembly is loaded using the M:System.Reflection.Assembly.LoadFrom(System.String) method. |
typeName | The fully qualified name of the requested type, including the namespace but not the assembly, as returned by the P:System.Type.FullName property. |
null
if typeName is not found. The return value needs to be unwrapped to access the real object.Implemented in System.AppDomain.
ObjectHandle System._AppDomain.CreateInstanceFrom | ( | string | assemblyFile, |
string | typeName, | ||
object [] | activationAttributes | ||
) |
Provides COM objects with version-independent access to the M:System.AppDomain.CreateInstanceFrom(System.String,System.String,System.Object[]) method overload.
assemblyFile | The name, including the path, of a file that contains an assembly that defines the requested type. The assembly is loaded using the M:System.Reflection.Assembly.LoadFrom(System.String) method. |
typeName | The fully qualified name of the requested type, including the namespace but not the assembly, as returned by the P:System.Type.FullName property. |
activationAttributes | An array of one or more attributes that can participate in activation. Typically, an array that contains a single T:System.Runtime.Remoting.Activation.UrlAttribute object. The T:System.Runtime.Remoting.Activation.UrlAttribute specifies the URL that is required to activate a remote object. |
null
if typeName is not found. The return value needs to be unwrapped to access the real object.Implemented in System.AppDomain.
ObjectHandle System._AppDomain.CreateInstanceFrom | ( | string | assemblyFile, |
string | typeName, | ||
bool | ignoreCase, | ||
BindingFlags | bindingAttr, | ||
Binder | binder, | ||
object [] | args, | ||
CultureInfo | culture, | ||
object [] | activationAttributes, | ||
Evidence | securityAttributes | ||
) |
Provides COM objects with version-independent access to the M:System.AppDomain.CreateInstanceFrom(System.String,System.String,System.Boolean,System.Reflection.BindingFlags,System.Reflection.Binder,System.Object[],System.Globalization.CultureInfo,System.Object[],System.Security.Policy.Evidence) method overload.
assemblyFile | The name, including the path, of a file that contains an assembly that defines the requested type. The assembly is loaded using the M:System.Reflection.Assembly.LoadFrom(System.String) method. |
typeName | The fully qualified name of the requested type, including the namespace but not the assembly, as returned by the P:System.Type.FullName property. |
ignoreCase | A Boolean value specifying whether to perform a case-sensitive search or not. |
bindingAttr | A combination of zero or more bit flags that affect the search for the typeName constructor. If bindingAttr is zero, a case-sensitive search for public constructors is conducted. |
binder | An object that enables the binding, coercion of argument types, invocation of members, and retrieval of T:System.Reflection.MemberInfo objects through reflection. If binder is null, the default binder is used. |
args | The arguments to pass to the constructor. This array of arguments must match in number, order, and type the parameters of the constructor to invoke. If the default constructor is preferred, args must be an empty array or null. |
culture | Culture-specific information that governs the coercion of args to the formal types declared for the typeName constructor. If culture is null , the T:System.Globalization.CultureInfo for the current thread is used. |
activationAttributes | An array of one or more attributes that can participate in activation. Typically, an array that contains a single T:System.Runtime.Remoting.Activation.UrlAttribute object. The T:System.Runtime.Remoting.Activation.UrlAttribute specifies the URL that is required to activate a remote object. |
securityAttributes | Information used to authorize creation of typeName . |
null
if typeName is not found. The return value needs to be unwrapped to access the real object.Implemented in System.AppDomain.
AssemblyBuilder System._AppDomain.DefineDynamicAssembly | ( | AssemblyName | name, |
AssemblyBuilderAccess | access | ||
) |
Provides COM objects with version-independent access to the M:System.AppDomain.DefineDynamicAssembly(System.Reflection.AssemblyName,System.Reflection.Emit.AssemblyBuilderAccess) method overload.
name | The unique identity of the dynamic assembly. |
access | The access mode for the dynamic assembly. |
Implemented in System.AppDomain.
AssemblyBuilder System._AppDomain.DefineDynamicAssembly | ( | AssemblyName | name, |
AssemblyBuilderAccess | access, | ||
string | dir | ||
) |
Provides COM objects with version-independent access to the M:System.AppDomain.DefineDynamicAssembly(System.Reflection.AssemblyName,System.Reflection.Emit.AssemblyBuilderAccess,System.String) method overload.
name | The unique identity of the dynamic assembly. |
access | The mode in which the dynamic assembly will be accessed. |
dir | The name of the directory where the assembly will be saved. If dir is null , the directory defaults to the current directory. |
Implemented in System.AppDomain.
AssemblyBuilder System._AppDomain.DefineDynamicAssembly | ( | AssemblyName | name, |
AssemblyBuilderAccess | access, | ||
Evidence | evidence | ||
) |
Provides COM objects with version-independent access to the M:System.AppDomain.DefineDynamicAssembly(System.Reflection.AssemblyName,System.Reflection.Emit.AssemblyBuilderAccess,System.Security.Policy.Evidence) method overload.
name | The unique identity of the dynamic assembly. |
access | The mode in which the dynamic assembly will be accessed. |
evidence | The evidence supplied for the dynamic assembly. The evidence is used unaltered as the final set of evidence used for policy resolution. |
Implemented in System.AppDomain.
AssemblyBuilder System._AppDomain.DefineDynamicAssembly | ( | AssemblyName | name, |
AssemblyBuilderAccess | access, | ||
PermissionSet | requiredPermissions, | ||
PermissionSet | optionalPermissions, | ||
PermissionSet | refusedPermissions | ||
) |
Provides COM objects with version-independent access to the M:System.AppDomain.DefineDynamicAssembly(System.Reflection.AssemblyName,System.Reflection.Emit.AssemblyBuilderAccess,System.Security.PermissionSet,System.Security.PermissionSet,System.Security.PermissionSet) method overload.
name | The unique identity of the dynamic assembly. |
access | The mode in which the dynamic assembly will be accessed. |
requiredPermissions | The required permissions request. |
optionalPermissions | The optional permissions request. |
refusedPermissions | The refused permissions request. |
Implemented in System.AppDomain.
AssemblyBuilder System._AppDomain.DefineDynamicAssembly | ( | AssemblyName | name, |
AssemblyBuilderAccess | access, | ||
string | dir, | ||
Evidence | evidence | ||
) |
Provides COM objects with version-independent access to the M:System.AppDomain.DefineDynamicAssembly(System.Reflection.AssemblyName,System.Reflection.Emit.AssemblyBuilderAccess,System.String,System.Security.Policy.Evidence) method overload.
name | The unique identity of the dynamic assembly. |
access | The mode in which the dynamic assembly will be accessed. |
dir | The name of the directory where the assembly will be saved. If dir is null , the directory defaults to the current directory. |
evidence | The evidence supplied for the dynamic assembly. The evidence is used unaltered as the final set of evidence used for policy resolution. |
Implemented in System.AppDomain.
AssemblyBuilder System._AppDomain.DefineDynamicAssembly | ( | AssemblyName | name, |
AssemblyBuilderAccess | access, | ||
string | dir, | ||
PermissionSet | requiredPermissions, | ||
PermissionSet | optionalPermissions, | ||
PermissionSet | refusedPermissions | ||
) |
Provides COM objects with version-independent access to the M:System.AppDomain.DefineDynamicAssembly(System.Reflection.AssemblyName,System.Reflection.Emit.AssemblyBuilderAccess,System.String,System.Security.PermissionSet,System.Security.PermissionSet,System.Security.PermissionSet) method overload.
name | The unique identity of the dynamic assembly. |
access | The mode in which the dynamic assembly will be accessed. |
dir | The name of the directory where the assembly will be saved. If dir is null , the directory defaults to the current directory. |
requiredPermissions | The required permissions request. |
optionalPermissions | The optional permissions request. |
refusedPermissions | The refused permissions request. |
Implemented in System.AppDomain.
AssemblyBuilder System._AppDomain.DefineDynamicAssembly | ( | AssemblyName | name, |
AssemblyBuilderAccess | access, | ||
Evidence | evidence, | ||
PermissionSet | requiredPermissions, | ||
PermissionSet | optionalPermissions, | ||
PermissionSet | refusedPermissions | ||
) |
Provides COM objects with version-independent access to the M:System.AppDomain.DefineDynamicAssembly(System.Reflection.AssemblyName,System.Reflection.Emit.AssemblyBuilderAccess,System.Security.Policy.Evidence,System.Security.PermissionSet,System.Security.PermissionSet,System.Security.PermissionSet) method overload.
name | The unique identity of the dynamic assembly. |
access | The mode in which the dynamic assembly will be accessed. |
evidence | The evidence supplied for the dynamic assembly. The evidence is used unaltered as the final set of evidence used for policy resolution. |
requiredPermissions | The required permissions request. |
optionalPermissions | The optional permissions request. |
refusedPermissions | The refused permissions request. |
Implemented in System.AppDomain.
AssemblyBuilder System._AppDomain.DefineDynamicAssembly | ( | AssemblyName | name, |
AssemblyBuilderAccess | access, | ||
string | dir, | ||
Evidence | evidence, | ||
PermissionSet | requiredPermissions, | ||
PermissionSet | optionalPermissions, | ||
PermissionSet | refusedPermissions | ||
) |
Provides COM objects with version-independent access to the M:System.AppDomain.DefineDynamicAssembly(System.Reflection.AssemblyName,System.Reflection.Emit.AssemblyBuilderAccess,System.String,System.Security.Policy.Evidence,System.Security.PermissionSet,System.Security.PermissionSet,System.Security.PermissionSet) method overload.
name | The unique identity of the dynamic assembly. |
access | The mode in which the dynamic assembly will be accessed. |
dir | The name of the directory where the assembly will be saved. If dir is null , the directory defaults to the current directory. |
evidence | The evidence supplied for the dynamic assembly. The evidence is used unaltered as the final set of evidence used for policy resolution. |
requiredPermissions | The required permissions request. |
optionalPermissions | The optional permissions request. |
refusedPermissions | The refused permissions request. |
Implemented in System.AppDomain.
AssemblyBuilder System._AppDomain.DefineDynamicAssembly | ( | AssemblyName | name, |
AssemblyBuilderAccess | access, | ||
string | dir, | ||
Evidence | evidence, | ||
PermissionSet | requiredPermissions, | ||
PermissionSet | optionalPermissions, | ||
PermissionSet | refusedPermissions, | ||
bool | isSynchronized | ||
) |
Provides COM objects with version-independent access to the M:System.AppDomain.DefineDynamicAssembly(System.Reflection.AssemblyName,System.Reflection.Emit.AssemblyBuilderAccess,System.String,System.Security.Policy.Evidence,System.Security.PermissionSet,System.Security.PermissionSet,System.Security.PermissionSet,System.Boolean) method overload.
name | The unique identity of the dynamic assembly. |
access | The mode in which the dynamic assembly will be accessed. |
dir | The name of the directory where the dynamic assembly will be saved. If dir is null , the directory defaults to the current directory. |
evidence | The evidence supplied for the dynamic assembly. The evidence is used unaltered as the final set of evidence used for policy resolution. |
requiredPermissions | The required permissions request. |
optionalPermissions | The optional permissions request. |
refusedPermissions | The refused permissions request. |
isSynchronized | true to synchronize the creation of modules, types, and members in the dynamic assembly; otherwise, false . |
Implemented in System.AppDomain.
void System._AppDomain.DoCallBack | ( | CrossAppDomainDelegate | theDelegate | ) |
Provides COM objects with version-independent access to the M:System.AppDomain.DoCallBack(System.CrossAppDomainDelegate) method.
theDelegate | A delegate that specifies a method to call. |
Implemented in System.AppDomain.
new bool System._AppDomain.Equals | ( | object | other | ) |
Provides COM objects with version-independent access to the inherited M:System.Object.Equals(System.Object) method.
other | The T:System.Object to compare to the current T:System.Object. |
true
if the specified T:System.Object is equal to the current T:System.Object; otherwise, false
.int System._AppDomain.ExecuteAssembly | ( | string | assemblyFile, |
Evidence | assemblySecurity | ||
) |
Provides COM objects with version-independent access to the M:System.AppDomain.ExecuteAssembly(System.String,System.Security.Policy.Evidence) method overload.
assemblyFile | The name of the file that contains the assembly to execute. |
assemblySecurity | Evidence for loading the assembly. |
Implemented in System.AppDomain.
int System._AppDomain.ExecuteAssembly | ( | string | assemblyFile | ) |
Provides COM objects with version-independent access to the M:System.AppDomain.ExecuteAssembly(System.String) method overload.
assemblyFile | The name of the file that contains the assembly to execute. |
Implemented in System.AppDomain.
int System._AppDomain.ExecuteAssembly | ( | string | assemblyFile, |
Evidence | assemblySecurity, | ||
string [] | args | ||
) |
Provides COM objects with version-independent access to the M:System.AppDomain.ExecuteAssembly(System.String,System.Security.Policy.Evidence,System.String[]) method overload.
assemblyFile | The name of the file that contains the assembly to execute. |
assemblySecurity | The supplied evidence for the assembly. |
args | The arguments to the entry point of the assembly. |
Implemented in System.AppDomain.
Assembly [] System._AppDomain.GetAssemblies | ( | ) |
Provides COM objects with version-independent access to the M:System.AppDomain.GetAssemblies method.
Implemented in System.AppDomain.
object System._AppDomain.GetData | ( | string | name | ) |
Provides COM objects with version-independent access to the M:System.AppDomain.GetData(System.String) method.
name | The name of a predefined application domain property, or the name of an application domain property you have defined. |
Implemented in System.AppDomain.
new int System._AppDomain.GetHashCode | ( | ) |
Provides COM objects with version-independent access to the inherited M:System.Object.GetHashCode method.
void System._AppDomain.GetIDsOfNames | ( | [In] ref Guid | riid, |
IntPtr | rgszNames, | ||
uint | cNames, | ||
uint | lcid, | ||
IntPtr | rgDispId | ||
) |
Maps a set of names to a corresponding set of dispatch identifiers.
riid | Reserved for future use. Must be IID_NULL. |
rgszNames | Passed-in array of names to be mapped. |
cNames | Count of the names to be mapped. |
lcid | The locale context in which to interpret the names. |
rgDispId | Caller-allocated array which receives the IDs corresponding to the names. |
T:System.NotImplementedException | The method is called late-bound using the COM IDispatch interface. |
object System._AppDomain.GetLifetimeService | ( | ) |
Provides COM objects with version-independent access to the inherited M:System.MarshalByRefObject.GetLifetimeService method.
new Type System._AppDomain.GetType | ( | ) |
Provides COM objects with version-independent access to the M:System.AppDomain.GetType method.
Implemented in System.AppDomain.
void System._AppDomain.GetTypeInfo | ( | uint | iTInfo, |
uint | lcid, | ||
IntPtr | ppTInfo | ||
) |
Retrieves the type information for an object, which can then be used to get the type information for an interface.
iTInfo | The type information to return. |
lcid | The locale identifier for the type information. |
ppTInfo | Receives a pointer to the requested type information object. |
T:System.NotImplementedException | The method is called late-bound using the COM IDispatch interface. |
void System._AppDomain.GetTypeInfoCount | ( | out uint | pcTInfo | ) |
Retrieves the number of type information interfaces that an object provides (either 0 or 1).
pcTInfo | Points to a location that receives the number of type information interfaces provided by the object. |
T:System.NotImplementedException | The method is called late-bound using the COM IDispatch interface. |
object System._AppDomain.InitializeLifetimeService | ( | ) |
Provides COM objects with version-independent access to the M:System.AppDomain.InitializeLifetimeService method.
null
.Implemented in System.AppDomain.
void System._AppDomain.Invoke | ( | uint | dispIdMember, |
[In] ref Guid | riid, | ||
uint | lcid, | ||
short | wFlags, | ||
IntPtr | pDispParams, | ||
IntPtr | pVarResult, | ||
IntPtr | pExcepInfo, | ||
IntPtr | puArgErr | ||
) |
Provides access to properties and methods exposed by an object.
dispIdMember | Identifies the member. |
riid | Reserved for future use. Must be IID_NULL. |
lcid | The locale context in which to interpret arguments. |
wFlags | Flags describing the context of the call. |
pDispParams | Pointer to a structure containing an array of arguments, an array of argument DISPIDs for named arguments, and counts for the number of elements in the arrays. |
pVarResult | Pointer to the location where the result is to be stored. |
pExcepInfo | Pointer to a structure that contains exception information. |
puArgErr | The index of the first argument that has an error. |
T:System.NotImplementedException | The method is called late-bound using the COM IDispatch interface. |
Assembly System._AppDomain.Load | ( | AssemblyName | assemblyRef | ) |
Provides COM objects with version-independent access to the M:System.AppDomain.Load(System.Reflection.AssemblyName) method overload.
assemblyRef | An object that describes the assembly to load. |
Implemented in System.AppDomain.
Assembly System._AppDomain.Load | ( | string | assemblyString | ) |
Provides COM objects with version-independent access to the M:System.AppDomain.Load(System.String) method overload.
assemblyString | The display name of the assembly. See P:System.Reflection.Assembly.FullName. |
Implemented in System.AppDomain.
Assembly System._AppDomain.Load | ( | byte [] | rawAssembly | ) |
Provides COM objects with version-independent access to the M:System.AppDomain.Load(System.Byte[]) method overload.
rawAssembly | An array of type byte that is a COFF-based image containing an emitted assembly. |
Implemented in System.AppDomain.
Assembly System._AppDomain.Load | ( | byte [] | rawAssembly, |
byte [] | rawSymbolStore | ||
) |
Provides COM objects with version-independent access to the M:System.AppDomain.Load(System.Byte[],System.Byte[]) method overload.
rawAssembly | An array of type byte that is a COFF-based image containing an emitted assembly. |
rawSymbolStore | An array of type byte containing the raw bytes representing the symbols for the assembly. |
Implemented in System.AppDomain.
Assembly System._AppDomain.Load | ( | byte [] | rawAssembly, |
byte [] | rawSymbolStore, | ||
Evidence | securityEvidence | ||
) |
Provides COM objects with version-independent access to the M:System.AppDomain.Load(System.Byte[],System.Byte[],System.Security.Policy.Evidence) method overload.
rawAssembly | An array of type byte that is a COFF-based image containing an emitted assembly. |
rawSymbolStore | An array of type byte containing the raw bytes representing the symbols for the assembly. |
securityEvidence | Evidence for loading the assembly. |
Implemented in System.AppDomain.
Assembly System._AppDomain.Load | ( | AssemblyName | assemblyRef, |
Evidence | assemblySecurity | ||
) |
Provides COM objects with version-independent access to the M:System.AppDomain.Load(System.Reflection.AssemblyName,System.Security.Policy.Evidence) method overload.
assemblyRef | An object that describes the assembly to load. |
assemblySecurity | Evidence for loading the assembly. |
Implemented in System.AppDomain.
Provides COM objects with version-independent access to the M:System.AppDomain.Load(System.String,System.Security.Policy.Evidence) method overload.
assemblyString | The display name of the assembly. See P:System.Reflection.Assembly.FullName. |
assemblySecurity | Evidence for loading the assembly. |
Implemented in System.AppDomain.
void System._AppDomain.SetAppDomainPolicy | ( | PolicyLevel | domainPolicy | ) |
Provides COM objects with version-independent access to the M:System.AppDomain.SetAppDomainPolicy(System.Security.Policy.PolicyLevel) method.
domainPolicy | The security policy level. |
Implemented in System.AppDomain.
void System._AppDomain.SetCachePath | ( | string | s | ) |
Provides COM objects with version-independent access to the M:System.AppDomain.SetCachePath(System.String) method.
s | The fully qualified path to the shadow copy location. |
Implemented in System.AppDomain.
void System._AppDomain.SetData | ( | string | name, |
object | data | ||
) |
Provides COM objects with version-independent access to the M:System.AppDomain.SetData(System.String,System.Object) method.
name | The name of a user-defined application domain property to create or change. |
data | The value of the property. |
Implemented in System.AppDomain.
void System._AppDomain.SetPrincipalPolicy | ( | PrincipalPolicy | policy | ) |
Provides COM objects with version-independent access to the M:System.AppDomain.SetPrincipalPolicy(System.Security.Principal.PrincipalPolicy) method.
policy | One of the T:System.Security.Principal.PrincipalPolicy values that specifies the type of the principal object to attach to threads. |
Implemented in System.AppDomain.
void System._AppDomain.SetShadowCopyPath | ( | string | s | ) |
Provides COM objects with version-independent access to the M:System.AppDomain.SetShadowCopyPath(System.String) method.
s | A list of directory names, where each name is separated by a semicolon. |
Implemented in System.AppDomain.
void System._AppDomain.SetThreadPrincipal | ( | IPrincipal | principal | ) |
Provides COM objects with version-independent access to the M:System.AppDomain.SetThreadPrincipal(System.Security.Principal.IPrincipal) method.
principal | The principal object to attach to threads. |
Implemented in System.AppDomain.
new string System._AppDomain.ToString | ( | ) |
Provides COM objects with version-independent access to the M:System.AppDomain.ToString method.
Implemented in System.AppDomain.
|
get |
Provides COM objects with version-independent access to the P:System.AppDomain.BaseDirectory property.
Definition at line 36 of file _AppDomain.cs.
|
get |
Provides COM objects with version-independent access to the P:System.AppDomain.DynamicDirectory property.
Definition at line 58 of file _AppDomain.cs.
|
get |
Provides COM objects with version-independent access to the P:System.AppDomain.Evidence property.
Definition at line 22 of file _AppDomain.cs.
|
get |
Provides COM objects with version-independent access to the P:System.AppDomain.FriendlyName property.
Definition at line 29 of file _AppDomain.cs.
|
get |
Provides COM objects with version-independent access to the P:System.AppDomain.RelativeSearchPath property.
Definition at line 43 of file _AppDomain.cs.
|
get |
Provides COM objects with version-independent access to the P:System.AppDomain.ShadowCopyFiles property.
true
if the application domain is configured to shadow copy files; otherwise, false
.Definition at line 51 of file _AppDomain.cs.
AssemblyLoadEventHandler System._AppDomain.AssemblyLoad |
Provides COM objects with version-independent access to the E:System.AppDomain.AssemblyLoad event.
Definition at line 66 of file _AppDomain.cs.
ResolveEventHandler System._AppDomain.AssemblyResolve |
Provides COM objects with version-independent access to the E:System.AppDomain.AssemblyResolve event.
Definition at line 78 of file _AppDomain.cs.
EventHandler System._AppDomain.DomainUnload |
Provides COM objects with version-independent access to the E:System.AppDomain.DomainUnload event.
Definition at line 63 of file _AppDomain.cs.
EventHandler System._AppDomain.ProcessExit |
Provides COM objects with version-independent access to the E:System.AppDomain.ProcessExit event.
Definition at line 69 of file _AppDomain.cs.
ResolveEventHandler System._AppDomain.ResourceResolve |
Provides COM objects with version-independent access to the E:System.AppDomain.ResourceResolve event.
Definition at line 75 of file _AppDomain.cs.
ResolveEventHandler System._AppDomain.TypeResolve |
Provides COM objects with version-independent access to the E:System.AppDomain.TypeResolve event.
Definition at line 72 of file _AppDomain.cs.
UnhandledExceptionEventHandler System._AppDomain.UnhandledException |
Provides COM objects with version-independent access to the E:System.AppDomain.UnhandledException event.
Definition at line 81 of file _AppDomain.cs.