Edit

Share via


UnhandledThreadPoolExceptionHandler Delegate

Definition

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.

public delegate bool UnhandledThreadPoolExceptionHandler(Exception ^ ex, WaitCallback ^ method, System::Object ^ state);
public delegate bool UnhandledThreadPoolExceptionHandler(Exception ex, WaitCallback method, object state);
type UnhandledThreadPoolExceptionHandler = delegate of Exception * WaitCallback * obj -> bool
Public Delegate Function UnhandledThreadPoolExceptionHandler(ex As Exception, method As WaitCallback, state As Object) As Boolean 

Parameters

ex
Exception

Unhandled exception thrown.

method
WaitCallback

This argument should be ignored.

state
Object

This argument should be ignored.

Return Value

Applies to