INotificationManagement.Send Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sends a notification from the Service Manager server.
Overloads
Send(IDictionary<NotificationRecipientType,IList<String>>, NotificationMessage, String) |
Sends a notification from the Service Manager server that contains a message. |
Send(IDictionary<NotificationRecipientType,IList<String>>, NotificationMessage, String, IDictionary<String,String>) |
Sends a notification from the Service Manager server that contains a message with the specified token values inserted in the message. |
Send(IDictionary<NotificationRecipientType,IList<String>>, NotificationMessage, String)
Sends a notification from the Service Manager server that contains a message.
public:
void Send(System::Collections::Generic::IDictionary<Microsoft::EnterpriseManagement::NotificationRecipientType, System::Collections::Generic::IList<System::String ^> ^> ^ toAddresses, Microsoft::EnterpriseManagement::NotificationMessage ^ message, System::String ^ fromAddress);
public void Send (System.Collections.Generic.IDictionary<Microsoft.EnterpriseManagement.NotificationRecipientType,System.Collections.Generic.IList<string>> toAddresses, Microsoft.EnterpriseManagement.NotificationMessage message, string fromAddress);
abstract member Send : System.Collections.Generic.IDictionary<Microsoft.EnterpriseManagement.NotificationRecipientType, System.Collections.Generic.IList<string>> * Microsoft.EnterpriseManagement.NotificationMessage * string -> unit
Public Sub Send (toAddresses As IDictionary(Of NotificationRecipientType, IList(Of String)), message As NotificationMessage, fromAddress As String)
Parameters
- toAddresses
- IDictionary<NotificationRecipientType,IList<String>>
Type: System.Collections.Generic.IDictionary{Microsoft.EnterpriseManagement.NotificationRecipientType,System.Collections.Generic.IList{System.String}}
The address for the notification recipient.
Applies to
Send(IDictionary<NotificationRecipientType,IList<String>>, NotificationMessage, String, IDictionary<String,String>)
Sends a notification from the Service Manager server that contains a message with the specified token values inserted in the message.
public:
void Send(System::Collections::Generic::IDictionary<Microsoft::EnterpriseManagement::NotificationRecipientType, System::Collections::Generic::IList<System::String ^> ^> ^ toAddresses, Microsoft::EnterpriseManagement::NotificationMessage ^ message, System::String ^ fromAddress, System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ tokenValues);
public void Send (System.Collections.Generic.IDictionary<Microsoft.EnterpriseManagement.NotificationRecipientType,System.Collections.Generic.IList<string>> toAddresses, Microsoft.EnterpriseManagement.NotificationMessage message, string fromAddress, System.Collections.Generic.IDictionary<string,string> tokenValues);
abstract member Send : System.Collections.Generic.IDictionary<Microsoft.EnterpriseManagement.NotificationRecipientType, System.Collections.Generic.IList<string>> * Microsoft.EnterpriseManagement.NotificationMessage * string * System.Collections.Generic.IDictionary<string, string> -> unit
Public Sub Send (toAddresses As IDictionary(Of NotificationRecipientType, IList(Of String)), message As NotificationMessage, fromAddress As String, tokenValues As IDictionary(Of String, String))
Parameters
- toAddresses
- IDictionary<NotificationRecipientType,IList<String>>
Type: System.Collections.Generic.IDictionary{Microsoft.EnterpriseManagement.NotificationRecipientType,System.Collections.Generic.IList{System.String}}
The address for the notification recipient.
- message
- NotificationMessage
Type: NotificationMessage
The notification message. The message can contain placeholders for token values.
- tokenValues
- IDictionary<String,String>
Type: System.Collections.Generic.IDictionary{System.String,System.String}
A collection of token values that are inserted in the placeholders in the notification message.