Language

INotificationCallback.ReConnected Method

Called when the Windows Home Server notification is able to resume communications.

Namespace: Microsoft.HomeServer.SDK.Interop.v1
Assembly: Microsoft.HomeServer.SDK.Interop.v1 (in microsoft.homeserver.sdk.interop.v1.dll)

Usage

Syntax

'Declaration
Sub ReConnected
void ReConnected ()
void ReConnected ()
void ReConnected ()
function ReConnected ()

Remarks

ReConnected is called when the Windows Home Server notification infrastructure is able to send and receive notifications again after a previous loss of connectivity. Since notification changes may have occurred while the notification infrastructure was disconnected, your application may not be synchronized with the current list of notifications in the notification infrastructure queue after ReConnected is called.

For example, a notification with a notification severity of WHS_ERROR may have been removed during the time that the notification infrastructure was disconnected. In this case, this could possibly result in your application processing a notification that is no longer valid.

To work around this issue, you will need to write code in your application that synchronizes the list of notifications that your application received before disconnecting from the notification infrastructure with the list that exists in the notification infrastructure after reconnecting.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP

Target Platforms

Windows Home Server

See Also

Reference

INotificationCallback Interface
INotificationCallback Members
Microsoft.HomeServer.SDK.Interop.v1 Namespace