SuppressionState Enum

Definition

Value that indicates whether an error has been suppressed.

public enum class SuppressionState
public enum SuppressionState
type SuppressionState = 
Public Enum SuppressionState
Inheritance
SuppressionState

Fields

Name Value Description
Active 0
Suppressed 1
NotApplicable 2

Remarks

Base type for the value returned when calling TryGetValue(String, Object) and TryGetValue(Int32, String, Object) using the SuppressionState 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.

Note that "suppressed" errors are still visible but they are filtered out by default.

Applies to