Aracılığıyla paylaş


ValidationError Constructors

Definition

Overloads

ValidationError(IModelComponent, String)

Initializes a new instance of the ValidationError class using the source and error information.

ValidationError(IModelComponent, String, ErrorPriority)

Initializes a new instance of the ValidationError class using the source and error information.

ValidationError(IModelComponent, String, Int32)

Initializes a new instance of the ValidationError class using the source and error information.

ValidationError(IModelComponent, String, ErrorPriority, Int32)

Initializes a new instance of the ValidationError class using the source and error information.

ValidationError(IModelComponent, String)

Initializes a new instance of the ValidationError class using the source and error information.

public ValidationError (Microsoft.AnalysisServices.IModelComponent source, string error);
new Microsoft.AnalysisServices.ValidationError : Microsoft.AnalysisServices.IModelComponent * string -> Microsoft.AnalysisServices.ValidationError
Public Sub New (source As IModelComponent, error As String)

Parameters

source
IModelComponent

The validation source.

error
String

The validation error.

Applies to

ValidationError(IModelComponent, String, ErrorPriority)

Initializes a new instance of the ValidationError class using the source and error information.

public ValidationError (Microsoft.AnalysisServices.IModelComponent source, string error, Microsoft.AnalysisServices.ErrorPriority priority);
new Microsoft.AnalysisServices.ValidationError : Microsoft.AnalysisServices.IModelComponent * string * Microsoft.AnalysisServices.ErrorPriority -> Microsoft.AnalysisServices.ValidationError
Public Sub New (source As IModelComponent, error As String, priority As ErrorPriority)

Parameters

source
IModelComponent

The validation source.

error
String

The validation error.

priority
ErrorPriority

The priority of the error.

Applies to

ValidationError(IModelComponent, String, Int32)

Initializes a new instance of the ValidationError class using the source and error information.

public ValidationError (Microsoft.AnalysisServices.IModelComponent source, string error, int errorCode);
new Microsoft.AnalysisServices.ValidationError : Microsoft.AnalysisServices.IModelComponent * string * int -> Microsoft.AnalysisServices.ValidationError
Public Sub New (source As IModelComponent, error As String, errorCode As Integer)

Parameters

source
IModelComponent

The validation source.

error
String

The validation error.

errorCode
Int32

The error code.

Applies to

ValidationError(IModelComponent, String, ErrorPriority, Int32)

Initializes a new instance of the ValidationError class using the source and error information.

public ValidationError (Microsoft.AnalysisServices.IModelComponent source, string error, Microsoft.AnalysisServices.ErrorPriority priority, int errorCode);
new Microsoft.AnalysisServices.ValidationError : Microsoft.AnalysisServices.IModelComponent * string * Microsoft.AnalysisServices.ErrorPriority * int -> Microsoft.AnalysisServices.ValidationError
Public Sub New (source As IModelComponent, error As String, priority As ErrorPriority, errorCode As Integer)

Parameters

source
IModelComponent

The validation source.

error
String

The validation error.

priority
ErrorPriority

The priority of the error.

errorCode
Int32

The error code.

Applies to