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

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

Overload List

Sets the entry point of the module to the given method given the type of the PE file.

[Visual Basic] Overloads Public Sub SetEntryPoint(MethodInfo, PEFileKinds)
[C#] public void SetEntryPoint(MethodInfo, PEFileKinds);
[C++] public: void SetEntryPoint(MethodInfo*, PEFileKinds);
[JScript] public function SetEntryPoint(MethodInfo, PEFileKinds);

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

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

Requirements

NGWS Runtime Security:

ReflectionPermission SecurityAction.Demand, ReflectionEmit

See Also

ModuleBuilder Class | ModuleBuilder Members | System.Reflection.Emit Namespace