CabApplication.OnUnhandledException Method
May be overridden in a derived class to be notified of any unhandled exceptions in the AppDomain. If the application is started with a debugger, this will not be called, so that the normal debugger handling of exceptions can be used.
Namespace: Microsoft.Practices.CompositeUI
Assembly: Microsoft.Practices.CompositeUI (in microsoft.practices.compositeui.dll)
Syntax
'Declaration
Public Overridable Sub OnUnhandledException ( _
sender As Object, _
e As UnhandledExceptionEventArgs _
)
'Usage
Dim instance As CabApplication(Of TWorkItem)
Dim sender As Object
Dim e As UnhandledExceptionEventArgs
instance.OnUnhandledException(sender, e)
public virtual void OnUnhandledException (
Object sender,
UnhandledExceptionEventArgs e
)
public:
virtual void OnUnhandledException (
Object^ sender,
UnhandledExceptionEventArgs^ e
)
public void OnUnhandledException (
Object sender,
UnhandledExceptionEventArgs e
)
public function OnUnhandledException (
sender : Object,
e : UnhandledExceptionEventArgs
)
Parameters
- sender
unused
- e
The exception event information
See Also
Reference
CabApplication Class
CabApplication Members
Microsoft.Practices.CompositeUI Namespace