Partager via


Exception Functions (Compact 2013)

3/28/2014

The following table show the exception functions with a description of the purpose of each.

Function

Description

AbnormalTermination

Indicates whether the try block of a try-finally statement terminated normally.

GetExceptionCode

Retrieves a code that identifies the type of exception that occurred.

GetExceptionInformation

Retrieves a machine-independent description of an exception and information about the machine state that existed for the thread when the exception occurred.

RaiseException

Raises an exception in the calling thread.

ReportFault

This function allows an application that performs its own exception handling to report faults to Microsoft.

AddVectoredExceptionHandler

Registers a vectored exception handler.

RemoveVectoredExceptionHandler

Unregisters a vectored exception handler.

VectoredHandler

Application-defined function that serves as a vectored exception handler. Specify this address when calling the AddVectoredExceptionHandler function. The PVECTORED_EXCEPTION_HANDLER type defines a pointer to this callback function. VectoredHandler is a placeholder for the application-defined name.

See Also

Reference

Exception Reference