Class Message<T>
Message envelope.
public class Message<T>
  Type Parameters
TData type.
- Inheritance
 - 
      objectMessage<T>
 
- Extension Methods
 
Constructors
Message()
public Message()
  Message(T)
public Message(T data)
  Parameters
dataT
Message(T, IDictionary<string, string>)
public Message(T data, IDictionary<string, string> properties)
  Parameters
dataTpropertiesIDictionary<string, string>
Properties
CorrelationId
Correlation Id - defaults to the same as the primary Id.
public string CorrelationId { get; set; }
  Property Value
Data
Message Data.
public T Data { get; set; }
  Property Value
- T
 
DataContentType
Message content type. Not currently used.
public string DataContentType { get; }
  Property Value
DataType
Assembly qualified type name of the Message Data.
public string DataType { get; }
  Property Value
Id
Message Id - defaults to a generated GUID.
public string Id { get; set; }
  Property Value
Properties
Additional user-defined Message properties.
public IDictionary<string, string> Properties { get; set; }
  Property Value
Time
Message timestamp.
public DateTime Time { get; set; }