Partager via


LocalAlertManager.ConnectAsync Method (TimeSpan)

 

Asynchronously connects the local alert manager to the local alert provider service with the specified timeout period.

Namespace:   Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework
Assembly:  AlertFramework (in AlertFramework.dll)

Syntax

public void ConnectAsync(
    TimeSpan timeout
)
public:
void ConnectAsync(
    TimeSpan timeout
)
Public Sub ConnectAsync (
    timeout As TimeSpan
)

Parameters

  • timeout
    Type: System.TimeSpan

    The timeout period for the connection attempt.

See Also

ConnectAsync Overload
LocalAlertManager Class
Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework Namespace

Return to top