Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)
Usage
Visual Basic |
---|
Dim instance As INotificationManagement Dim toAddresses As IDictionary(Of NotificationRecipientType, IList(Of String)) Dim message As NotificationMessage Dim fromAddress As String Dim tokenValues As IDictionary(Of String, String) instance.Send(toAddresses, message, fromAddress, tokenValues) |
Syntax
Visual Basic |
---|
Sub Send ( _ toAddresses As IDictionary(Of NotificationRecipientType, IList(Of String)), _ message As NotificationMessage, _ fromAddress As String, _ tokenValues As IDictionary(Of String, String) _ ) |
C# |
---|
void Send ( IDictionary<NotificationRecipientType,IList<string>> toAddresses, NotificationMessage message, string fromAddress, IDictionary<string,string> tokenValues ) |
C++ |
---|
void Send ( IDictionary<NotificationRecipientType, IList<String^>^>^ toAddresses, NotificationMessage^ message, String^ fromAddress, IDictionary<String^, String^>^ tokenValues ) |
J# |
---|
void Send ( IDictionary<NotificationRecipientType,IList<String>> toAddresses, NotificationMessage message, String fromAddress, IDictionary<String,String> tokenValues ) |
JScript |
---|
function Send ( toAddresses : IDictionary<NotificationRecipientType,IList<String>>, message : NotificationMessage, fromAddress : String, tokenValues : IDictionary<String,String> ) |
Parameters
- toAddresses
-
Type: String}}
The address for the notification recipient.
- message
-
Type: NotificationMessage
The notification message. The message can contain placeholders for token values.
- fromAddress
-
Type: String
The address of the notification sender.
- tokenValues
-
Type: System.Collections.Generic.IDictionary{System.String,System.String}
A collection of token values that are inserted in the placeholders in the notification message.
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.