ErrorInfo Class
Provides information about an error that has occurred.
Namespace: Microsoft.WindowsServerSolutions.Administration.ObjectModel
Assembly: Microsoft.WindowsServerSolutions.Administration.ObjectModel (in Microsoft.WindowsServerSolutions.Administration.ObjectModel.dll)
Inheritance Hierarchy
System.Object
Microsoft.WindowsServerSolutions.Administration.ObjectModel.ErrorInfo
Syntax
[SerializableAttribute]
public sealed class ErrorInfo : IEquatable<ErrorInfo>
[SerializableAttribute]
public ref class ErrorInfo sealed : IEquatable<ErrorInfo^>
<SerializableAttribute>
Public NotInheritable Class ErrorInfo
Implements IEquatable(Of ErrorInfo)
Constructors
Name | Description | |
---|---|---|
ErrorInfo(String, Exception) | Initializes a new instance of the ErrorInfo class with the specified title and the specified Exception. |
|
ErrorInfo(String, String, String) | Initializes a new instance of the ErrorInfo class with the specified ID, title, and description. |
|
ErrorInfo(String, String, String, ErrorLevel) | Initializes a new instance of the ErrorInfo class with the specified ID, title, description, and ErrorLevel enumeration object. |
Properties
Name | Description | |
---|---|---|
Description | Gets the description of the error. |
|
ErrorLevel | Gets the severity level of the error. |
|
Id | Gets the ID of the error. |
|
Resolution | Gets or sets the explanation of how to resolve the error. |
|
Title | Gets the title of the error. |
Methods
Name | Description | |
---|---|---|
Equals(ErrorInfo) | Compares the ID of one ErrorInfo object to the ID of another ErrorInfo object. |
|
Equals(Object) | Calls the Equals method with the specified object.(Overrides Object.Equals(Object).) |
|
GetHashCode() | Returns a hash code for the ErrorInfo object.(Overrides Object.GetHashCode().) |
|
GetType() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
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
Microsoft.WindowsServerSolutions.Administration.ObjectModel Namespace
Return to top