Share via


UnhandledThreadPoolExceptionHandler Delegate

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Raised when an unhandled exception occurs in a thread pool used by the platform.

Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in microsoft.rtc.collaboration.dll)

Syntax

'Declaration
Public Delegate Function UnhandledThreadPoolExceptionHandler ( _
    ex As Exception, _
    method As WaitCallback, _
    state As Object _
) As Boolean
public delegate bool UnhandledThreadPoolExceptionHandler (
    Exception ex,
    WaitCallback method,
    Object state
)

Parameters

  • ex
    The unhandled exception thrown.
  • method
    The method that is called on the thread pool and caused the unhandled exception.
  • state
    The state object that was passed to the method.

Remarks

If this delegate returns true, the exception is ignored; otherwise it is rethrown.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

See Also

Reference

Microsoft.Rtc.Signaling Namespace