다음을 통해 공유


INotificationManagement.Send Method (IDictionary, NotificationMessage, String, IDictionary)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Sends a notification from the Service Manager server that contains a message with the specified token values inserted in the message.

Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)

Usage

'Usage
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

'Declaration
Sub Send ( _
    toAddresses As IDictionary(Of NotificationRecipientType, IList(Of String)), _
    message As NotificationMessage, _
    fromAddress As String, _
    tokenValues As IDictionary(Of String, String) _
)
void Send (
    IDictionary<NotificationRecipientType,IList<string>> toAddresses,
    NotificationMessage message,
    string fromAddress,
    IDictionary<string,string> tokenValues
)
void Send (
    IDictionary<NotificationRecipientType, IList<String^>^>^ toAddresses, 
    NotificationMessage^ message, 
    String^ fromAddress, 
    IDictionary<String^, String^>^ tokenValues
)
void Send (
    IDictionary<NotificationRecipientType,IList<String>> toAddresses, 
    NotificationMessage message, 
    String fromAddress, 
    IDictionary<String,String> tokenValues
)
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.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

INotificationManagement Interface
INotificationManagement Members
Microsoft.EnterpriseManagement Namespace