다음을 통해 공유


ExceptionSettings.SetBreakWhenUserUnhandled 메서드

지정된 ExceptionSetting에 대한 BreakWhenUserUnhandled 속성을 설정하거나 해제합니다. 이제 ExceptionSetting 개체를 통해 전달되는 속성에 이 값이 반영됩니다.

네임스페이스:  EnvDTE90
어셈블리:  EnvDTE90(EnvDTE90.dll)

구문

‘선언
Sub SetBreakWhenUserUnhandled ( _
    BreakWhenUserUnhandled As Boolean, _
    ExceptionSetting As ExceptionSetting _
)
void SetBreakWhenUserUnhandled(
    bool BreakWhenUserUnhandled,
    ExceptionSetting ExceptionSetting
)
void SetBreakWhenUserUnhandled(
    [InAttribute] bool BreakWhenUserUnhandled, 
    [InAttribute] ExceptionSetting^ ExceptionSetting
)
abstract SetBreakWhenUserUnhandled : 
        BreakWhenUserUnhandled:bool * 
        ExceptionSetting:ExceptionSetting -> unit
function SetBreakWhenUserUnhandled(
    BreakWhenUserUnhandled : boolean, 
    ExceptionSetting : ExceptionSetting
)

매개 변수

  • BreakWhenUserUnhandled
    형식: Boolean

    BreakWhenUserUnhandled 속성이 설정되어 있으면 true이고, 그렇지 않으면 false인 부울 값입니다.

설명

SetBreakWhenUserUnhandled는 관리되는 예외 형식에만 적용됩니다. 네이티브 예외에 이 메서드를 사용하려고 하면 "BreakWhenUserUnhandled는 관리되는 예외 유형에만 적용됩니다."라는 오류 메시지가 나타납니다.

SetBreakWhenUserUnhandled는 지정된 ExceptionSetting 인스턴스에서만 값을 설정합니다. ExceptionSetting은 예외 설정 값이 만들어질 당시의 스냅숏일 뿐입니다.

.NET Framework 보안

참고 항목

참조

ExceptionSettings 인터페이스

EnvDTE90 네임스페이스

기타 리소스

자동화 개체 모델 차트