Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
A thread safe way to access find an alert in the alert collection.
Namespace:   Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework
Assembly:  AlertFramework (in AlertFramework.dll)
Syntax
protected Alert FirstOrDefaultAlert(
    Func<Alert, bool> condition
)
protected:
Alert^ FirstOrDefaultAlert(
    Func<Alert^, bool>^ condition
)
Protected Function FirstOrDefaultAlert (
    condition As Func(Of Alert, Boolean)
) As Alert
Parameters
- condition 
 Type: System.Func<Alert, Boolean>- The condition. 
Return Value
Type: Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework.Alert
The alert.
See Also
AlertManager Class
Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework Namespace
Return to top