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
id
Type: System.StringThe ID that is associated with the ErrorInfo object that will be retrieved.
error
Type: Microsoft.WindowsServerSolutions.Administration.ObjectModel.ErrorInfoThe ErrorInfo object that is associated with the specified ID.
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