ValidationError Constructor (IModelComponent, String, Int32)
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, _
errorCode As Integer _
)
'Usage
Dim source As IModelComponent
Dim error As String
Dim errorCode As Integer
Dim instance As New ValidationError(source, _
error, errorCode)
public ValidationError(
IModelComponent source,
string error,
int errorCode
)
public:
ValidationError(
IModelComponent^ source,
String^ error,
int errorCode
)
new :
source:IModelComponent *
error:string *
errorCode:int -> ValidationError
public function ValidationError(
source : IModelComponent,
error : String,
errorCode : int
)
Parameters
- source
Type: Microsoft.AnalysisServices.IModelComponent
The validation source.
- error
Type: System.String
The validation error.
- errorCode
Type: System.Int32
The error code.