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!

ICorConfiguration

SetAppDomainLoadEvent

This method is used to register a callback that will be invoked whenever a new domain is created.

Parameters:

Name Description
pAppStartEvent [in]A callback that is invoked whenever a domain is created.

SetGCThreadControl

Sets a callback for scheduling threads for non-runtime tasks when they would otherwise be blocked for a GC. This callback will be called whenever the Runtime is about to run GC on a particular thread.

Name Description
pGCThreadControl [in]The callback for scheduling threads.

SetDebuggerThreadControl

Sets a callback that to receive notifications when threads are blocking and un-blocking during debugging.

Name Description
pDebuggerThreadControl [in]The callback for getting notified that a thread is about to block within the debugging services.

AddDebuggerSpecialThread

The host may indicate to the debugging services that a particular thread should be allowed to continue to execute while the debugger has an application stopped during managed/unmanaged debugging scenarios. The specified thread will not be allowed to run managed code, or to enter the Runtime in any way. An example of such a thread would be an in-process thread to support legacy script debuggers.

Name Description
dwSpecialThreadId [in]The id of the thread you wish to keep running.