Delen via


ValidationError Class

Represents the base class for validation errors.

Inheritance Hierarchy

System.Object
  Microsoft.AnalysisServices.ValidationError

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
<GuidAttribute("6A4FEEEC-977B-4f3a-9694-E65969EAD568")> _
Public NotInheritable Class ValidationError
'Usage
Dim instance As ValidationError
[GuidAttribute("6A4FEEEC-977B-4f3a-9694-E65969EAD568")]
public sealed class ValidationError
[GuidAttribute(L"6A4FEEEC-977B-4f3a-9694-E65969EAD568")]
public ref class ValidationError sealed
[<SealedAttribute>]
[<GuidAttribute("6A4FEEEC-977B-4f3a-9694-E65969EAD568")>]
type ValidationError =  class end
public final class ValidationError

The ValidationError type exposes the following members.

Constructors

  Name Description
Public method ValidationError(IModelComponent, String) Initializes a new instance of the ValidationError class.
Public method ValidationError(IModelComponent, String, ErrorPriority) Initializes a new instance of the ValidationError class.
Public method ValidationError(IModelComponent, String, Int32) Initializes a new instance of the ValidationError class.
Public method ValidationError(IModelComponent, String, ErrorPriority, Int32) Initializes a new instance of the ValidationError class.

Top

Properties

  Name Description
Public property ErrorCode Gets or sets the error code.
Public property ErrorText Gets or sets the error text for this instance.
Public property FullErrorText Gets the full error text for this instance.
Public property Priority Gets or sets the error priority.
Public property Source Gets or sets the validation source for this instance.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString (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.

See Also

Reference

Microsoft.AnalysisServices Namespace