NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ModuleBuilder.SetEntryPoint (MethodInfo)

Sets the entry point of the module to the given method.

[Visual Basic]
Overloads Public Sub SetEntryPoint( _
   ByVal entryPoint As MethodInfo _
)
[C#]
public void SetEntryPoint(
   MethodInfo entryPoint
);
[C++]
public: void SetEntryPoint(
   MethodInfo* entryPoint
);
[JScript]
public function SetEntryPoint(
   entryPoint : MethodInfo
);

Parameters

entryPoint
The method that is the entry point to the module.

Exceptions

Exception Type Condition
ArgumentNullException if entryPoint is a null reference (in Visual Basic Nothing)

Requirements

NGWS Runtime Security:

ReflectionPermission SecurityAction.Demand, ReflectionEmit

See Also

ModuleBuilder Class | ModuleBuilder Members | System.Reflection.Emit Namespace | ModuleBuilder.SetEntryPoint Overload List