ATTACH_REASON
指定偵錯引擎 (DE) 的原因,附加到程式的節點。
enum enum_ATTACH_REASON {
ATTACH_REASON_LAUNCH = 0x0001,
ATTACH_REASON_USER = 0x0002,
ATTACH_REASON_AUTO = 0x0003
};
typedef DWORD ATTACH_REASON;
public enum enum_ATTACH_REASON {
ATTACH_REASON_LAUNCH = 0x0001,
ATTACH_REASON_USER = 0x0002,
ATTACH_REASON_AUTO = 0x0003
};
Members
ATTACH_REASON_AUTO
附加,因為在處理序目前處於偵錯模式。ATTACH_REASON_LAUNCH
附加,因為在啟動程序。ATTACH_REASON_USER
因使用者要求的連接。
備註
這些值用做為參數, IDebugEngine2::Attach和IDebugProgramEx2::Attach方法。
需求
標頭: msdbg.h
Namespace: Microsoft.VisualStudio.Debugger.Interop
組件: Microsoft.VisualStudio.Debugger.Interop.dll