WHSInfoClass.IWHSInfo_AddNotification Method
Adds a notification to 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
Public Overridable Sub IWHSInfo_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 _
) Implements IWHSInfo.AddNotification
public virtual void IWHSInfo.AddNotification (
[InAttribute] string UniqueID,
[InAttribute] WHS_Notification_Severity State,
[InAttribute] string textHeader,
[InAttribute] string textDescription,
[InAttribute] string helpFilename,
[InAttribute] string helpSection,
[InAttribute] string helpLinkText
)
public:
virtual void IWHSInfo_AddNotification (
[InAttribute] String^ UniqueID,
[InAttribute] WHS_Notification_Severity State,
[InAttribute] String^ textHeader,
[InAttribute] String^ textDescription,
[InAttribute] String^ helpFilename,
[InAttribute] String^ helpSection,
[InAttribute] String^ helpLinkText
) = IWHSInfo::AddNotification
Parameters
- UniqueID
A string that contains the unique identifier for the notification.
- State
A WHS_Notification_Severity enumeration that indicates the severity of 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 is for internal use only. To add notifications, use the AddNotification method.
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
WHSInfoClass Class
WHSInfoClass Members
Microsoft.HomeServer.SDK.Interop.v1 Namespace