Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Class to store the details of an issue that was detected by a rule.
Inheritance Hierarchy
System.Object
Microsoft.Data.Schema.StaticCodeAnalysis.DataRuleProblem
Namespace: Microsoft.Data.Schema.StaticCodeAnalysis
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Class DataRuleProblem
public class DataRuleProblem
public ref class DataRuleProblem
type DataRuleProblem = class end
public class DataRuleProblem
The DataRuleProblem type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
DataRuleProblem | Initializes a new instance of the DataRuleProblem class. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
Description | Gets or sets the description of the current issue. |
![]() |
EndColumn | Gets or sets the end column of the token that contains the issue. |
![]() |
EndLine | Gets or sets the end line of the token that contains the issue. |
![]() |
ErrorMessageString | Gets the string to use to display the error message. |
![]() |
FileName | Gets or sets the file that contains the detected issue. |
![]() |
ModelElement | Gets or sets the IModelElement that is associated with the current issue. |
![]() |
Rule | Gets or sets the rule that was used to detect the current issue. |
![]() |
Severity | Gets or sets the severity of this problem. |
![]() |
StartColumn | Gets or sets the start column of the token that contains the issue. |
![]() |
StartLine | Gets or sets the start line of the token that contains the issue. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Equals | Overrides the Equals method. (Overrides Object.Equals(Object).) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetHashCode | Overrides the GetHashCode() methods. (Overrides Object.GetHashCode().) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.