VSErrorCodes80 Enumeration

Visual Studio error codes.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
Public Enumeration VSErrorCodes80
public enum VSErrorCodes80
public enum class VSErrorCodes80
type VSErrorCodes80
public enum VSErrorCodes80

Members

Member name Description
VS_E_DOCUMENTOPENNOTTRUSTED Returned by editor invocation if the document cannot be opened safely (template, editor or logical view is untrusted).
VS_E_MIGRATIONREQUIRESRELOAD Migration requires a reload.
VS_E_SYNCHRONOUSOPENREQUIRED A solution or project file cannot be opened asynchronously.

The caller should attempt to open the file again without passing SLNOPENOPT_LoadingAsync (for a solution) or CPF_OPEN_ASYNCHRONOUSLY (for a project).

VS_E_VSSETTINGS_INVALIDVERSION Returned by AddBrowseFile if the selected file is of the wrong version.

Remarks

COM Signature

From vsshell80.idl:

enum VSErrorCodes80
{
    VS_E_MIGRATIONREQUIRESRELOAD = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1FE6),
    VS_E_SYNCHRONOUSOPENREQUIRED = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1FE7),
    VS_E_VSSETTINGS_INVALIDVERSION = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1FE8),
    VS_E_DOCUMENTOPENNOTTRUSTED = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x1FE9),
};

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace