AssemblyBuilder.EntryPoint Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns the entry point of this assembly.

Namespace:   System.Reflection.Emit
Assembly:  mscorlib (in mscorlib.dll)

public override MethodInfo EntryPoint { get; }

Property Value

Type: System.Reflection.MethodInfo

The entry point of this assembly.

Exception Condition
SecurityException

The caller does not have the required permission.

ReflectionPermission

when invoked late-bound through mechanisms such as Type.InvokeMember. Associated enumeration: ReflectionPermissionFlag.MemberAccess.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Return to top
Show: