AppDomainManager.EntryAssembly Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk