Partager via


ErrorManager.TryGetActive Method (String, ErrorInfo)

 

Gets an active error that is associated with the specified ID.

Namespace:   Microsoft.WindowsServerSolutions.Administration.ObjectModel
Assembly:  Microsoft.WindowsServerSolutions.Administration.ObjectModel (in Microsoft.WindowsServerSolutions.Administration.ObjectModel.dll)

Syntax

public bool TryGetActive(
    string id,
    out ErrorInfo error
)
public:
bool TryGetActive(
    String^ id,
    [OutAttribute] ErrorInfo^% error
)
Public Function TryGetActive (
    id As String,
    <OutAttribute> ByRef error As ErrorInfo
) As Boolean

Parameters

Return Value

Type: System.Boolean

true if the error is active; otherwise, false.

See Also

ErrorManager Class
Microsoft.WindowsServerSolutions.Administration.ObjectModel Namespace

Return to top