NotificationOption Class

Definition

Offers different notification styles for enforcing a code style. Under the hood, it simply maps to DiagnosticSeverity

public ref class NotificationOption
public class NotificationOption
public sealed class NotificationOption
type NotificationOption = class
Public Class NotificationOption
Public NotInheritable Class NotificationOption
Inheritance
NotificationOption

Remarks

This also supports various properties for databinding.

Fields

Name Description
Error Microsoft.CodeAnalysis.CodeStyle.NotificationOption2.Error
None Microsoft.CodeAnalysis.CodeStyle.NotificationOption2.None
Silent Microsoft.CodeAnalysis.CodeStyle.NotificationOption2.Silent
Suggestion Microsoft.CodeAnalysis.CodeStyle.NotificationOption2.Suggestion
Warning Microsoft.CodeAnalysis.CodeStyle.NotificationOption2.Warning

Properties

Name Description
Name
Obsolete.

Name for the notification option.

Severity Microsoft.CodeAnalysis.CodeStyle.NotificationOption2.Severity
Value Microsoft.CodeAnalysis.CodeStyle.NotificationOption2

Methods

Name Description
ToString() Microsoft.CodeAnalysis.CodeStyle.NotificationOption2

Applies to