Share via


IWHSInfo2.RemoveNotification Method

Removes the specified notification from the Windows Home Server notification infrastructure.

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

Usage

Syntax

'Declaration
Sub RemoveNotification ( _
    <InAttribute> UniqueID As String _
)
void RemoveNotification (
    [InAttribute] string UniqueID
)
void RemoveNotification (
    [InAttribute] String^ UniqueID
)
void RemoveNotification (
    /** @attribute InAttribute() */ String UniqueID
)
function RemoveNotification (
    UniqueID : String
)

Parameters

  • UniqueID
    A Guid structure that identifies the notification that you want to remove.

Remarks

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

An instance of IWHSInfo2 in your application can remove any notifications that are added by your application, but the instance of IWHSInfo2 that you want to use to remove a notification must add a notification before it can remove one.

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