AsyncWcfLib

WcfApplication Methods

The methods of the WcfApplication class are listed below. For a complete list of WcfApplication class members, see the WcfApplication Members topic.

Public Static Methods

CurrentDomain_UnhandledException Handle the non-UI exceptions by showing a dialog box, and asking the user whether or not they wish to abort execution. NOTE: This exception cannot be kept from terminating the application - it can only log the event, and inform the user about it. Before 'Application.Run' add the handler for handling non-UI thread exceptions to the event: AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(WcfTrc.DefaultTracePlugin.CurrentDomain_UnhandledException);
Exit Normal application end.
InstallExitHandler Install handlers for normal or abnormal application termination on Windows or Unix.
WinForms_ThreadException Handle the UI exceptions by showing a dialog box, and asking the user whether or not they wish to abort execution. Before 'Application.Run' add the event handler for handling UI thread exceptions: Application.ThreadException += new ThreadExceptionEventHandler(WcfTrc.DefaultTracePlugin.WinForms_ThreadException); Set the unhandled exception mode to force all Windows Forms errors to go through our handler. Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException);

Public Instance Methods

Equals (inherited from Object)
GetHashCode (inherited from Object)
GetType (inherited from Object)
ToString (inherited from Object)

Protected Instance Methods

Finalize (inherited from Object)
MemberwiseClone (inherited from Object)

See Also

WcfApplication Class | SourceForge.AsyncWcfLib Namespace