ValidationError Constructor (IModelComponent, String, ErrorPriority, Int32)
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Sub New ( _
source As IModelComponent, _
error As String, _
priority As ErrorPriority, _
errorCode As Integer _
)
'Usage
Dim source As IModelComponent
Dim error As String
Dim priority As ErrorPriority
Dim errorCode As Integer
Dim instance As New ValidationError(source, _
error, priority, errorCode)
public ValidationError(
IModelComponent source,
string error,
ErrorPriority priority,
int errorCode
)
public:
ValidationError(
IModelComponent^ source,
String^ error,
ErrorPriority priority,
int errorCode
)
new :
source:IModelComponent *
error:string *
priority:ErrorPriority *
errorCode:int -> ValidationError
public function ValidationError(
source : IModelComponent,
error : String,
priority : ErrorPriority,
errorCode : int
)
Parameters
- source
Type: Microsoft.AnalysisServices.IModelComponent
- error
Type: System.String
- priority
Type: Microsoft.AnalysisServices.ErrorPriority
- errorCode
Type: System.Int32
See Also