This topic has not yet been rated - Rate this topic

ICorDebugProcess::ClearCurrentException Method

Clears the current unmanaged exception on the given thread.

HRESULT ClearCurrentException([in] DWORD threadID);
threadID

[in] The ID of the thread on which the current unmanaged exception will be cleared.

Call this method before calling ICorDebugController::Continue when a thread has reported an unmanaged exception that should be ignored by the debuggee. This will clear both the outstanding in-band (IB) and out-of-band (OOB) events on the given thread. All OOB breakpoints and single-step exceptions are automatically cleared.

Use ICorDebugThread2::InterceptCurrentException to intercept the current managed exception on a thread.

Platforms: See .NET Framework System Requirements.

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.