System.Reflection.Emit.AssemblyBuilder.SetEntryPoint Method

Sets the entry point for this dynamic assembly, assuming that a console application is being built.

Syntax

public void SetEntryPoint (System.Reflection.MethodInfo entryMethod)

Parameters

entryMethod
A reference to the method that represents the entry point for this dynamic assembly.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Reflection.Emit
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0