Muokkaa

Jaa


AppDomainManager.EntryAssembly Property

Definition

Gets the entry assembly for an application.

public:
 virtual property System::Reflection::Assembly ^ EntryAssembly { System::Reflection::Assembly ^ get(); };
public virtual System.Reflection.Assembly EntryAssembly { get; }
public virtual System.Reflection.Assembly EntryAssembly { [System.Security.SecurityCritical] get; }
member this.EntryAssembly : System.Reflection.Assembly
[<get: System.Security.SecurityCritical>]
member this.EntryAssembly : System.Reflection.Assembly
Public Overridable ReadOnly Property EntryAssembly As Assembly

Property Value

The entry assembly for the application.

Attributes

Remarks

If the application is a manifest-activated application, the entry assembly is determined from the application manifest. If the application is not manifest activated, the entry assembly is the process executable in the default application domain. In other application domains, the entry assembly is the first executable that was executed by the AppDomain.ExecuteAssembly method.

Applies to