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
Visual Basic (Declaration) |
Public
Delegate
Function
UnhandledThreadPoolExceptionHandler
( _
ex
As
Exception, _
method
As
WaitCallback, _
state
As
Object _
)
As
Boolean
|
C# |
public
delegate
bool
UnhandledThreadPoolExceptionHandler(
Exception
ex,
WaitCallback
method,
Object
state
)
|
Visual C++ |
public
delegate
bool
UnhandledThreadPoolExceptionHandler(
Exception^
ex,
WaitCallback^
method,
Object^
state
)
|
JavaScript |
function(
ex,
method,
state);
|
Parameters
-
ex
- Type:
Exception
Unhandled exception thrown.
-
method
- Type:
WaitCallback
Method which was called on thread pool and caused the
unhandled exception.
-
state
- Type:
Object
The state object that was passed to the method.
Return Value
See Also