Share via


IWHSInfo.AddNotification Method

Adds a notification to the Windows Home Server infrastructure.

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

Usage

Syntax

'Declaration
Sub AddNotification ( _
    <InAttribute> UniqueID As String, _
    <InAttribute> State As WHS_Notification_Severity, _
    <InAttribute> textHeader As String, _
    <InAttribute> textDescription As String, _
    <InAttribute> helpFilename As String, _
    <InAttribute> helpSection As String, _
    <InAttribute> helpLinkText As String _
)
void AddNotification (
    [InAttribute] string UniqueID,
    [InAttribute] WHS_Notification_Severity State,
    [InAttribute] string textHeader,
    [InAttribute] string textDescription,
    [InAttribute] string helpFilename,
    [InAttribute] string helpSection,
    [InAttribute] string helpLinkText
)
void AddNotification (
    [InAttribute] String^ UniqueID, 
    [InAttribute] WHS_Notification_Severity State, 
    [InAttribute] String^ textHeader, 
    [InAttribute] String^ textDescription, 
    [InAttribute] String^ helpFilename, 
    [InAttribute] String^ helpSection, 
    [InAttribute] String^ helpLinkText
)
void AddNotification (
    /** @attribute InAttribute() */ String UniqueID, 
    /** @attribute InAttribute() */ WHS_Notification_Severity State, 
    /** @attribute InAttribute() */ String textHeader, 
    /** @attribute InAttribute() */ String textDescription, 
    /** @attribute InAttribute() */ String helpFilename, 
    /** @attribute InAttribute() */ String helpSection, 
    /** @attribute InAttribute() */ String helpLinkText
)
function AddNotification (
    UniqueID : String, 
    State : WHS_Notification_Severity, 
    textHeader : String, 
    textDescription : String, 
    helpFilename : String, 
    helpSection : String, 
    helpLinkText : String
)

Parameters

  • UniqueID
    A string that contains the unique identifier for the notification.
  • textHeader
    A string that contains the notification caption.
  • textDescription
    A string that contains the notification message text.
  • helpFilename
    A string that contains the path to a Help file.
  • helpSection
    A string that contains the topic file name in the Help file.
  • helpLinkText
    A string that contains the link text for the hyperlink to the Help file.

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

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