다음을 통해 공유


IDebugInterceptExceptionCompleteEvent2::GetInterceptCookie

인터셉트하는 예외 처리가 완료되면 호출됩니다.

구문

int GetInterceptCookie(
   out ulong pqwCookie
);

매개 변수

pqwCookie
[out] 인터셉트하는 예외와 연결된 고유 값입니다.

Return Value

성공하면 S_OK를 반환하고, 그러지 않으면 오류 코드를 반환합니다.

설명

InterceptCurrentException 메서드가 차단된 예외 처리를 완료하면 IDebugInterceptExceptionCompleteEvent2 이벤트를 보냅니다. 처리기는 GetInterceptCookie 메서드를 사용하여 예외와 연결된 고유한 값을 검색할 수 있습니다(InterceptCurrentException 메서드에 전달된 동일한 값).

참고 항목