ConstraintError
ConstraintError
Represents an error found during a constraint evaluation.
The ConstraintError class is derived from the System.Object class.
Public Constructors
The ConstraintError class has the following public constructor.
Constructor | Description |
---|---|
ConstraintError(Int32, String, String[]) |
Initializes a new instance of the ConstraintError class. |
Public Methods
The ConstraintError class has the following public methods.
Method | Description |
---|---|
Equals(Object) |
Returns whether the specified Object is equal to the current Object. |
Equals(Object, Object) | Static (Shared). Returns whether the specified Object objects are equal. |
FailedInputs() |
Returns an enumerator for the failed inputs. |
GetHashCode() |
Returns the hash for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures such as a hash table. |
GetType() |
Returns the Type of the current instance. |
ReferenceEquals(Object, Object) | Static (Shared). Returns whether the specified Object objects are the same. |
ToString() |
Public Properties
The ConstraintError class has the following public properties.
Property | Description |
---|---|
ErrorDescription | Data type: String Access type: Read-only Gets the localized description of this constraint error. |
ErrorId | Data type: Int32 Access type: Read-only Gets the identifier for this constraint error. |
Protected Methods
The ConstraintError class has the following protected methods.
Method | Description |
---|---|
Finalize() |
Attempts to free the Object resources and performs other cleanup operations before the Object is reclaimed by garbage collection. |
MemberwiseClone() |
Creates a shallow copy of the current Object. |
Requirements
Namespace |
Defined in Microsoft.SystemDefinitionModel.Manager. |
Assembly |
Requires Microsoft.Sdm.Manager (in Microsoft.Sdm.Manager.dll). |
.NET Framework |
Requires .NET Framework 2.0. |
See Also
Microsoft.SystemDefinitionModel.Manager
Send comments about this topic to Microsoft
Build date: 10/2/2007