次の方法で共有


AlertManager.FirstOrDefaultAlert Method (Func<Alert, Boolean>)

 

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

Return Value

Type: Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework.Alert

The alert.

See Also

AlertManager Class
Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework Namespace

Return to top