ErrorManager Class
Used as a repository for reporting and dismissing errors.
Namespace: Microsoft.WindowsServerSolutions.Administration.ObjectModel
Assembly: Microsoft.WindowsServerSolutions.Administration.ObjectModel (in Microsoft.WindowsServerSolutions.Administration.ObjectModel.dll)
Inheritance Hierarchy
System.Object
System.MarshalByRefObject
Microsoft.WindowsServerSolutions.Administration.ObjectModel.ErrorManager
Syntax
public sealed class ErrorManager : MarshalByRefObject
public ref class ErrorManager sealed : MarshalByRefObject
Public NotInheritable Class ErrorManager
Inherits MarshalByRefObject
Properties
Name | Description | |
---|---|---|
![]() |
ActiveCount | Gets the number of errors that have not been dismissed. |
Methods
Name | Description | |
---|---|---|
![]() |
CreateObjRef(Type) | Creates an object that contains all the relevant information required to generate a proxy that is used to communicate with a remote object.(Overrides MarshalByRefObject.CreateObjRef(Type).) |
![]() |
Dismiss(ErrorInfo) | Dismisses the specified error. |
![]() |
Dismiss(String) | Dismisses an error that is associated with the specified ID. |
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetLifetimeService() | (Inherited from MarshalByRefObject.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
InitializeLifetimeService() | Obtains a lifetime service object to control the lifetime policy for this instance.(Overrides MarshalByRefObject.InitializeLifetimeService().) |
![]() |
IsActive(ErrorInfo) | Determines whether the specified error is active and has not been dismissed. |
![]() |
IsActive(String) | Determines whether the error that is associated with the specified ID is active and has not been dismissed. |
![]() |
Report(ErrorInfo) | Reports the specified error. |
![]() |
Reset() | Dismisses all errors. |
![]() |
ToString() | (Inherited from Object.) |
![]() |
TryGetActive(String, ErrorInfo) | Gets an active error that is associated with the specified ID. |
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