| IBasicMessageToSend Interface |
[This is preliminary documentation and is subject to change.]
Namespace: Netadmin.Management.Messaging.MessageTypes
The IBasicMessageToSend type exposes the following members.
| Name | Description | ||
|---|---|---|---|
| IEnumerableT, T: IMessageAttachment | Attachments | ||
| IEnumerableT, T: IMessageAttachmentData | AttachmentsToSend | (Inherited from IBasicMessage.) | |
| String | Body | (Inherited from IBasicMessage.) | |
| DateTime | CreatedUtc | ||
| String | FormaterMetaData |
Can be used to pass arbitrary data from a formater to sender
(Inherited from IBasicMessage.) | |
| Int64 | Id | ||
| DateTime | LastTryUtc | ||
| MessageStatus | MessageStatus | ||
| Int64 | MessageTypeId | ||
| String | RecieverAddress | (Inherited from IBasicMessage.) | |
| String | RecieverName | (Inherited from IBasicMessage.) | |
| NullableT, T: Guid | Reference | ||
| NullableT, T: Int64 | ResendMessageId | ||
| Int32 | RetryCount | ||
| String | SenderAddress | (Inherited from IBasicMessage.) | |
| String | SenderMetaData |
Can be used by senders to store data between attempts
| |
| String | SenderName | (Inherited from IBasicMessage.) | |
| String | Subject | (Inherited from IBasicMessage.) | |
| DateTime | TimeToSendUtc | (Inherited from IBasicMessage.) |
| Name | Description | ||
|---|---|---|---|
| void | SetMetadataT(T) | (Defined by BasicMessageMetadataUtility.) | |
| Boolean | TryGetMetadataT(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.) |