IMessagingManagerSendMessagesT Method (IEnumerableT, Int64, NullableGuid, RelatesToObjectType, Int64) |
[This is preliminary documentation and is subject to change.]
Sends messages
Namespace: Netadmin.Management.MessagingAssembly: Netadmin.Management.Interfaces (in Netadmin.Management.Interfaces.dll) Version: release/9.0@131b654fe7332b0776120c2b44d96c6cac5ac9a2
Syntaxvoid SendMessages<T>(
IEnumerable<T> messages,
long messageTypeId,
Nullable<Guid> reference,
RelatesToObjectType objectType,
long objectId
)
Sub SendMessages(Of T) (
messages As IEnumerable(Of T),
messageTypeId As Long,
reference As Nullable(Of Guid),
objectType As RelatesToObjectType,
objectId As Long
)
Parameters
- messages
- Type: System.Collections.GenericIEnumerableT
The messages to send - messageTypeId
- Type: SystemInt64
The message type id to send them on - reference
- Type: SystemNullableGuid
Optional guid for tracking the messages - objectType
- Type: Netadmin.Management.MessagingRelatesToObjectType
Enum for relating the message to an objectype - objectId
- Type: SystemInt64
Object identifier for relating the message to a specific object
Type Parameters
- T
- The type of message to send, example ITicketPostMessage
ExceptionsException | Condition |
---|
ArgumentNullException | messages is |
See Also