Partager via


ErrorSource Enum

Definition

Value that indicates the source of an error in the error list.

This enumeration supports a bitwise combination of its member values.

public enum class ErrorSource
public enum class ErrorSource
enum ErrorSource
[System.Flags]
public enum ErrorSource
[<System.Flags>]
type ErrorSource = 
Public Enum ErrorSource
Inheritance
ErrorSource
Attributes

Fields

Name Value Description
Build 1

Used to indicate any error generated by an explicit build command.

Other 2

Used to indicate any error generated from any compilation process that was not explicitly invoked by the end-user (e.g. in response to typing a character).

Remarks

Base type for the value returned when calling TryGetValue(String, Object) and TryGetValue(Int32, String, Object) using the ErrorSource key.

It is better, for performance reasons, to return values that have been boxed when returning though an out object. You can find boxed equivalents of these values in Microsoft.VisualStudio.Shell.TableManager.Boxes.

Applies to