Click or drag to resize
IMessagingManagerSendMessagesT Method (IEnumerableT, Int64, NullableGuid, RelatesToObjectType, Int64)

[This is preliminary documentation and is subject to change.]

Sends messages

Namespace: Netadmin.Management.Messaging
Assembly: Netadmin.Management.Interfaces (in Netadmin.Management.Interfaces.dll) Version: release/9.0@131b654fe7332b0776120c2b44d96c6cac5ac9a2
Syntax
void SendMessages<T>(
	IEnumerable<T> messages,
	long messageTypeId,
	Nullable<Guid> reference,
	RelatesToObjectType objectType,
	long objectId
)

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
Exceptions
ExceptionCondition
ArgumentNullExceptionmessages is
See Also