MessageSensitivity Enum

Definition

A flag that can be attached to a message or exception to indicate that it has a certain class of sensitive data. By default, messages should be specified as being of unknown sensitivity, which is to say, every sensitivity flag is turned on, corresponding to Unknown. Messages that are totally safe should be marked as None. However, if, say, one prints out data from a file (for example, this might be done when expressing parse errors), it should be flagged in that case with UserData.

This enumeration supports a bitwise combination of its member values.

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

Fields

All -1

An alias for Unknown, so it is functionally the same, except semantically it communicates the idea that we want all bits set.

None 0

For non-sensitive data.

Schema 2

For messages that contain information like column names from datasets. Note that, despite being part of the schema, annotations should be treated as user data, since it is often derived from user data. Note also that types, despite being part of the schema, are not considered "sensitive" as such, in the same way that column names might be.

Unknown -1

The default value, unknown, is treated as if everything is sensitive.

UserData 1

For messages that may contain user-data from data files.

Applies to