IWHSInfo2.RegisterForNotifications Method

Registers an application for Windows Home Server notification events.

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

Usage

Syntax

'Declaration
Sub RegisterForNotifications ( _
    <InAttribute> pCallBack As INotificationCallback _
)
void RegisterForNotifications (
    [InAttribute] INotificationCallback pCallBack
)
void RegisterForNotifications (
    [InAttribute] INotificationCallback^ pCallBack
)
void RegisterForNotifications (
    /** @attribute InAttribute() */ INotificationCallback pCallBack
)
function RegisterForNotifications (
    pCallBack : INotificationCallback
)

Parameters

  • pCallBack
    An INotificationCallback object that provides an interface to the Windows Home Server notification infrastructure.

Remarks

This method fails silently if it is called from an ASP.NET page.

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

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