ValidationError Constructor (IModelComponent, String, ErrorPriority)
Initializes a new instance of the ValidationError class.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Sub New ( _
source As IModelComponent, _
error As String, _
priority As ErrorPriority _
)
'Usage
Dim source As IModelComponent
Dim error As String
Dim priority As ErrorPriority
Dim instance As New ValidationError(source, _
error, priority)
public ValidationError(
IModelComponent source,
string error,
ErrorPriority priority
)
public:
ValidationError(
IModelComponent^ source,
String^ error,
ErrorPriority priority
)
new :
source:IModelComponent *
error:string *
priority:ErrorPriority -> ValidationError
public function ValidationError(
source : IModelComponent,
error : String,
priority : ErrorPriority
)
Parameters
- source
Type: Microsoft.AnalysisServices.IModelComponent
The validation source.
- error
Type: System.String
The validation error.
- priority
Type: Microsoft.AnalysisServices.ErrorPriority
The priority error.