Interface IMessage
Сообщение в очереди.
Namespace:InfinniPlatform.MessageQueue
Assembly:InfinniPlatform.MessageQueue.Abstractions.dll
Syntax
public interface IMessage
Properties
| Improve this Doc View SourceAppId
Идентификатор отправителя сообщения.
Declaration
string AppId { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Headers
Заголовки сообщения.
Declaration
IDictionary<string, object> Headers { get; }
Property Value
| Type | Description |
|---|---|
| IDictionary<System.String, System.Object> |
Methods
| Improve this Doc View SourceGetBody()
Возвращает тело сообщения.
Declaration
object GetBody()
Returns
| Type | Description |
|---|---|
| System.Object |
GetBodyType()
Возвращает тип тела сообщения.
Declaration
Type GetBodyType()
Returns
| Type | Description |
|---|---|
| Type |