IXCLRDataExceptionState::IsSameState2 Method

Determines whether the exception state matches the given exception information.

NOTE: This method requires revision 2 as reported by the Request method in order to call.

Note

This API was originally designed for internal use in the runtime. Although it is now supported for 3rd party use, we recommend working with ICorDebug and ICorProfiler APIs when possible.

Syntax

HRESULT IsSameState2(
    [in] ULONG32 flags,
    [in] EXCEPTION_RECORD64 *exRecord,
    [in] ULONG32 contextSize,
    [in, size_is(contextSize)] BYTE cxRecord[]
);

Parameters

flags
[in] Flags indicating how to match the exception state. This is one of the values defined by the CLRDataExceptionSameFlag enumeration.

exRecord
[in] The system exception record for which to check a match against.

contextSize
[in] The size of the context record in the cxRecord buffer.

cxRecord
[in] The context record associated with the exception.

Return Value

If the exception state matches the given information, S_OK will be returned. If it does not, S_FALSE will be returned.

Remarks

The provided method is part of the IXCLRDataExceptionState interface and corresponds to the 12th slot of the virtual method table.

Requirements

Platforms: See System Requirements. Header: None Library: None .NET Framework Versions: Available since 4.7

See also