Class Message
Inheritance
System.Object
Message
Assembly: Steeltoe.Messaging.MessagingBase.dll
Syntax
public static class Message : object
Methods
|
Edit this page
View Source
Create(Object, IDictionary<String, Object>, Type)
Declaration
public static IMessage Create(object payload, IDictionary<string, object> headers, Type messageType = null)
Parameters
Type |
Name |
Description |
System.Object |
payload |
|
IDictionary<System.String, System.Object> |
headers |
|
Type |
messageType |
|
Returns
|
Edit this page
View Source
Declaration
public static IMessage Create(object payload, IMessageHeaders headers, Type messageType = null)
Parameters
Type |
Name |
Description |
System.Object |
payload |
|
IMessageHeaders |
headers |
|
Type |
messageType |
|
Returns
|
Edit this page
View Source
Create(Object, Type)
Declaration
public static IMessage Create(object payload, Type messageType = null)
Parameters
Type |
Name |
Description |
System.Object |
payload |
|
Type |
messageType |
|
Returns
|
Edit this page
View Source
Create<T>(T)
Declaration
public static IMessage<T> Create<T>(T payload)
Parameters
Type |
Name |
Description |
T |
payload |
|
Returns
Type Parameters
|
Edit this page
View Source
Create<T>(T, IDictionary<String, Object>)
Declaration
public static IMessage<T> Create<T>(T payload, IDictionary<string, object> headers)
Parameters
Type |
Name |
Description |
T |
payload |
|
IDictionary<System.String, System.Object> |
headers |
|
Returns
Type Parameters
|
Edit this page
View Source
Declaration
public static IMessage<T> Create<T>(T payload, IMessageHeaders headers)
Parameters
Returns
Type Parameters