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!

App Domain Reference

AppDomain Reference

class AppDomain
{
  //. . .
  public void AddOnUnhandledException(
               UnhandledExceptionEventHandler handler)

  public void RemoveOnUnhandledException(
               UnhandledExceptionEventHandler handler)
  //. . . 
}

AddOnUnhandledException

A domain can be notified when an unhandled exception happens

RemoveOnUnhandledException.

Unsubscribe from the unhandled exception event

UnhandledExceptionEvent Reference

public class UnhandledExceptionEvent : EventArgs

{

public UnhandledExceptionEvent(Object exception, bool isTerminating);

public Object ExceptionObject { get; }

public bool IsTerminating { get; }

}

UnhandledExceptionEventHandler Reference

public delegate void UnhandledExceptionEventHandler(Object sender, UnhandledExceptionEvent e);