共用方式為


EncUnavailableReason

This is for internal use only! Represents the reasons that Edit and Continue is not available.

enum tagEncUnavailableReason {
   ENCUN_NONE,
   ENCUN_INTEROP,
   ENCUN_SQLCLR,
   ENCUN_MINIDUMP,
   ENCUN_EMBEDDED,
   ENCUN_ATTACH,
   ENCUN_WIN64
};
typedef enum tagEncUnavailableReason EncUnavailableReason;
public enum EncUnavailableReason {
   ENCUN_NONE,
   ENCUN_INTEROP,
   ENCUN_SQLCLR,
   ENCUN_MINIDUMP,
   ENCUN_EMBEDDED,
   ENCUN_ATTACH,
   ENCUN_WIN64
};

Parameters

  • ENCUN_NONE
    No specific reason why Edit and Continue is not available.

  • ENCUN_INTEROP
    Edit and Continue is not available during an InterOp call.

  • ENCUN_SQLCLR
    Edit and Continue is not available during an SQL procedure call that uses the Common Language Runtime (CLR).

  • ENCUN_MINIDUMP
    Edit and Continue is not available while processing a mini-dump.

  • ENCUN_EMBEDDED
    Edit and Continue is not available when processing embedded code.

  • ENCUN_ATTACH
    Edit and Continue is not available because the session was attached to, not launched by, the debugger.

  • ENCUN_WIN64
    Edit and Continue is not available while processing 64-bit Windows code.

Remarks

This enumeration is for internal use only by Visual Studio. The IDebugProcess3::GetENCAvailableState and IDebugProcess3::DisableENC methods as implemented by a custom port supplier should always return E_NOTIMPL.

Requirements

Header: msdbg.idl

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Reference

Enumerations (Visual Studio Debugging)

IDebugProcess3::DisableENC

IDebugProcess3::GetENCAvailableState