Click or drag to resize
IBasicMessageToSend Interface

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

Contains additional information and metadata before being send to a MessageSender

Namespace: Netadmin.Management.Messaging.MessageTypes
Assembly: Netadmin.Management.Interfaces (in Netadmin.Management.Interfaces.dll) Version: release/9.0@131b654fe7332b0776120c2b44d96c6cac5ac9a2
Syntax
public interface IBasicMessageToSend : IBasicMessage

The IBasicMessageToSend type exposes the following members.

Properties
  NameDescription
Public propertyIEnumerableT, T: IMessageAttachmentAttachments
Public propertyIEnumerableT, T: IMessageAttachmentDataAttachmentsToSend (Inherited from IBasicMessage.)
Public propertyStringBody (Inherited from IBasicMessage.)
Public propertyDateTimeCreatedUtc
Public propertyStringFormaterMetaData
Can be used to pass arbitrary data from a formater to sender
(Inherited from IBasicMessage.)
Public propertyInt64Id
Public propertyDateTimeLastTryUtc
Public propertyMessageStatusMessageStatus
Public propertyInt64MessageTypeId
Public propertyStringRecieverAddress (Inherited from IBasicMessage.)
Public propertyStringRecieverName (Inherited from IBasicMessage.)
Public propertyNullableT, T: GuidReference
Public propertyNullableT, T: Int64ResendMessageId
Public propertyInt32RetryCount
Public propertyStringSenderAddress (Inherited from IBasicMessage.)
Public propertyStringSenderMetaData
Can be used by senders to store data between attempts
Public propertyStringSenderName (Inherited from IBasicMessage.)
Public propertyStringSubject (Inherited from IBasicMessage.)
Public propertyDateTimeTimeToSendUtc (Inherited from IBasicMessage.)
Top
Extension Methods
  NameDescription
Public Extension Method void SetMetadataT(T) (Defined by BasicMessageMetadataUtility.)
Public Extension MethodBooleanTryGetMetadataT(T)
WARNING: THIS METHODS RETURN VALUE IS UNRELIABLE. This method will return true even if the type of T can't get parsed from message.FormaterMetaData's json if the string is a valid json At the same time T output in this case will become a new instance of the type T with default values set(new T() instead of default(T))
(Defined by BasicMessageMetadataUtility.)
Top
See Also