UnhandledThreadPoolExceptionHandler Delegate
Unhandled Threadpool Exception event handler would be raised whenever an unhandled exception occurs in a threadpool used by the platform. If this delegate returns true then the exception is ignored, otherwise it is rethrown.
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
'Usage
Dim instance As New UnhandledThreadPoolExceptionHandler(AddressOf HandlerMethod)
public delegate bool UnhandledThreadPoolExceptionHandler(
Exception ex,
WaitCallback method,
Object state
)
Parameters
- ex
Type: System.Exception
Unhandled exception thrown.
- method
Type: System.Threading.WaitCallback
This argument should be ignored.
- state
Type: System.Object
This argument should be ignored.
Return Value
Type: System.Boolean