Share via


Problem Members

Include Protected Members
Include Inherited Members

Stores the details of a problem detected by a rule.

The Problem type exposes the following members.

Constructors

 

Name

Description

Public method

Problem

Initializes a new instance of the Problem class.

Top

Methods

 

Name

Description

Public method

Equals

Returns whether two problems are equal. (Overrides Object.Equals(Object).)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetHashCode

Returns the hash code value. (Overrides Object.GetHashCode().)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Top

Properties

 

Name

Description

Public property

Description

Gets or sets the description of the problem.

Public property

EndColumn

Gets or sets the end column of the token.

Public property

EndLine

Gets or sets the end line of the token.

Public property

ErrorMessageString

Gets the string for displaying the error message.

Public property

FileName

Gets or sets the file that contains the detected problem.

Public property

ModelElement

Gets or sets the model element from which the problem is detected.

Public property

Rule

Gets or sets the rule used to detect the current problem.

Public property

Severity

Gets or sets the severity of the problem.

Public property

StartColumn

Gets or sets the start column of the token.

Public property

StartLine

Gets or sets the start line of the token.

Top

See Also

Reference

Problem Class

Microsoft.Data.Schema.StaticCodeAnalysis Namespace