EncUnavailableReason

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

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

Syntax

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
};

Fields

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 GetENCAvailableState and 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