Partager via


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
System_CAPS_pubproperty ActiveCount

Gets the number of errors that have not been dismissed.

Methods

Name Description
System_CAPS_pubmethod 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).)

System_CAPS_pubmethod Dismiss(ErrorInfo)

Dismisses the specified error.

System_CAPS_pubmethod Dismiss(String)

Dismisses an error that is associated with the specified ID.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod InitializeLifetimeService()

Obtains a lifetime service object to control the lifetime policy for this instance.(Overrides MarshalByRefObject.InitializeLifetimeService().)

System_CAPS_pubmethod IsActive(ErrorInfo)

Determines whether the specified error is active and has not been dismissed.

System_CAPS_pubmethod IsActive(String)

Determines whether the error that is associated with the specified ID is active and has not been dismissed.

System_CAPS_pubmethod Report(ErrorInfo)

Reports the specified error.

System_CAPS_pubmethod Reset()

Dismisses all errors.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod 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