[This is preliminary documentation and is subject to change.]
The Msg type exposes the following members.Constructors
Name | Description | |
---|---|---|
![]() | Msg |
Constructs new message and allocates unique ID
|
Methods
Name | Description | |
---|---|---|
![]() | __SetArrivalTimeStampTicks |
Framework method not for developers. Sets arrival ticks stamp. Usually called from transport
|
![]() | __SetBindingSpecificContext(Object) |
Internal method not to be called by app developers.
Called from custom bindings to inject binding-specific context
|
![]() | __SetBindingSpecificContext(Msg) |
Internal method not to be called by app developers.
Called from custom bindings to inject binding-specific context
|
![]() | CloneState |
Clones message state from another message instance.
State includes binding-specific context and optionally headers and correlation data
|
![]() | ![]() | Determines whether the specified object is equal to the current object. (Inherited from ![]() |
![]() | ![]() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from ![]() |
![]() | ![]() | Serves as the default hash function. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | ToString | (Overrides ![]() |
Extension Methods
Fields
Name | Description | |
---|---|---|
![]() | m_Headers | |
![]() | m_ID |
Properties
Name | Description | |
---|---|---|
![]() | ArrivalTimeStamp |
Returns arrival timestamp expressed in ticks, that is - when message just arrived before its processing started by Glue (before deserialization).
This property allows for glue-internal latency assessment
|
![]() | BindingSpecificContext |
Returns a binding-specific context object which is used for message processing/routing by binding.
This property value is not serialized and used internally by Glue framework. Not all bindings use/need this property
|
![]() | CorrelationData |
Arbitrary named object collection that can be used to correlate messages and/or attach extra data.
This field is NOT transmitted over wire nor is it used by the framework. Message inspectors may use this property
at their own discretion, for example in cases when the same inspector type is registered on multiple levels (endpoint, binding, glue),
inspectors may check this property to execute only once per message.
The collection is lazily allocated at the first reference attempt
|
![]() | HasCorrelationData |
Returns true when this message contains header data
|
![]() | HasHeaders |
Returns true when this message contains header data
|
![]() | Headers |
Returns a list of headers that this message contains
|
![]() | ID |
Returns a unique ID for this message
|
![]() | RequestID |
Returns request ID that relates to this message instance. It is the message ID for RequestMsg and related message ID for ResponseMsg
|
See Also