IWHSInfo.AddNotification Method
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Adds a notification to the Windows Home Server infrastructure.
Namespace: WHSInfoIF
Assembly: Interop.WHSInfoIF (in interop.whsinfoif.dll)
Syntax
'Declaration
Sub AddNotification ( _
<InAttribute> UniqueID As String, _
<InAttribute> State As WHS_Notification_Severity, _
<InAttribute> textHeader As String, _
<InAttribute> textDescription As String _
)
'Usage
Dim instance As IWHSInfo
Dim UniqueID As String
Dim State As WHS_Notification_Severity
Dim textHeader As String
Dim textDescription As String
instance.AddNotification(UniqueID, State, textHeader, textDescription)
void AddNotification (
[InAttribute] string UniqueID,
[InAttribute] WHS_Notification_Severity State,
[InAttribute] string textHeader,
[InAttribute] string textDescription
)
void AddNotification (
[InAttribute] String^ UniqueID,
[InAttribute] WHS_Notification_Severity State,
[InAttribute] String^ textHeader,
[InAttribute] String^ textDescription
)
void AddNotification (
/** @attribute InAttribute() */ String UniqueID,
/** @attribute InAttribute() */ WHS_Notification_Severity State,
/** @attribute InAttribute() */ String textHeader,
/** @attribute InAttribute() */ String textDescription
)
function AddNotification (
UniqueID : String,
State : WHS_Notification_Severity,
textHeader : String,
textDescription : String
)
Parameters
- UniqueID
A string that contains the unique identifier for the notification.
- State
An enumeration of type WHS_Notification_Severity that indicates the severity of the notification.
- textHeader
A string that contains the notification caption.
- textDescription
A string that contains the notification message text.
Platforms
Windows Home Server
Windows Home Server