[This is preliminary documentation and is subject to change.]
The RequestAnyMsg type exposes the following members.Constructors
Name | Description | |
---|---|---|
![]() | RequestAnyMsg(MethodInfo, Nullable Guid , Object ) |
Constructs request message from method information and arguments for call invocation.
This constructor is slower as it uses reflection
|
![]() | RequestAnyMsg(TypeSpec, MethodSpec, Boolean, Nullable Guid , Object ) |
Constructs request message from pre-computed specs obtained by reflection.
This constructor is the fastest as it does not use reflection
|
![]() | RequestAnyMsg(RequestMsg, MethodInfo, Nullable Guid , Object , Boolean, Boolean) |
This .ctor is handy for message inspectors.
Creates a substitute message for the original one with new values.
Binding-specific context is cloned and headers/correlation data are cloned conditionaly
|
![]() | RequestAnyMsg(RequestMsg, TypeSpec, MethodSpec, Boolean, Nullable Guid , Object , Boolean, Boolean) |
This .ctor is handy for message inspectors.
Creates a substitute message for the original one with new values.
Binding-specific context is cloned and headers/correlation data are cloned conditionaly
|
Methods
Name | Description | |
---|---|---|
![]() | __SetArrivalTimeStampTicks |
Framework method not for developers. Sets arrival ticks stamp. Usually called from transport
(Inherited from Msg.) |
![]() | __SetBindingSpecificContext(Object) |
Internal method not to be called by app developers.
Called from custom bindings to inject binding-specific context
(Inherited from Msg.) |
![]() | __SetBindingSpecificContext(Msg) |
Internal method not to be called by app developers.
Called from custom bindings to inject binding-specific context
(Inherited from Msg.) |
![]() | __setServerTransport |
Implementation-specific internal method not to be used by developers
(Inherited from RequestMsg.) |
![]() | CloneState |
Clones message state from another message instance.
State includes binding-specific context and optionally headers and correlation data
(Inherited from Msg.) |
![]() | ![]() | 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 | (Inherited from Msg.) |
Extension Methods
Fields
Name | Description | |
---|---|---|
![]() | m_Headers | (Inherited from Msg.) |
![]() | m_ID | (Inherited from Msg.) |
![]() | m_ServerTransport | (Inherited from RequestMsg.) |
Properties
Name | Description | |
---|---|---|
![]() | Arguments |
Returns call arguments
|
![]() | 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
(Inherited from Msg.) |
![]() | 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
(Inherited from Msg.) |
![]() | Contract |
Returns contract type that this call belongs to. This property throws if actual specified type can not be found
(Inherited from RequestMsg.) |
![]() | ContractSpec |
Returns contract type spec that this call belongs to
(Inherited from RequestMsg.) |
![]() | 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
(Inherited from Msg.) |
![]() | HasCorrelationData |
Returns true when this message contains header data
(Inherited from Msg.) |
![]() | HasHeaders |
Returns true when this message contains header data
(Inherited from Msg.) |
![]() | Headers |
Returns a list of headers that this message contains
(Inherited from Msg.) |
![]() | ID |
Returns a unique ID for this message
(Inherited from Msg.) |
![]() | Method |
Gets a method specification to be invoked on the other side
(Inherited from RequestMsg.) |
![]() | MethodName |
Gets a name of method to be invoked on the other side
(Inherited from RequestMsg.) |
![]() | OneWay |
Indicates that no response is expected
(Inherited from RequestMsg.) |
![]() | RemoteInstance |
If server is stateful then this property contains remote instance ID
(Inherited from RequestMsg.) |
![]() | RequestID |
Returns request ID for this instance. Every request is uniquely identified
(Inherited from RequestMsg.) |
![]() | ServerTransport |
Returns transport that this request arrived through. Property is to be used only on server
(Inherited from RequestMsg.) |
![]() | Session |
Session reference that can be used to pass session object that was already determined by transport (i.e. HttpServerTransport)
into Glue server handler. This property is NOT transmitted/serialized over wire
(Inherited from RequestMsg.) |
See Also