Class ResponseMsg
Represents a response message sent by called party
Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
  Namespace: NFX.Glue.Protocol
Assembly: NFX.dll
Syntax
[Serializable]
public sealed class ResponseMsg : Msg
  Constructors
ResponseMsg(FID, Nullable<Guid>, Object)
Declaration
public ResponseMsg(FID requestID, Guid? instance, object returnValue)
  Parameters
| Type | Name | Description | 
|---|---|---|
| FID | requestID | |
| System.Nullable<System.Guid> | instance | |
| System.Object | returnValue | 
ResponseMsg(FID, Object)
Declaration
public ResponseMsg(FID requestID, object returnValue)
  Parameters
| Type | Name | Description | 
|---|---|---|
| FID | requestID | |
| System.Object | returnValue | 
ResponseMsg(ResponseMsg, Object, Boolean, Boolean)
This .ctor is handy for message inspectors. Creates a substitute message for the original one with new value. Binding-specific context is cloned and headers/correlation data are cloned conditionaly
Declaration
public ResponseMsg(ResponseMsg inspectedOriginal, object newReturnValue, bool cloneHeaders = true, bool cloneCorrelation = true)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ResponseMsg | inspectedOriginal | |
| System.Object | newReturnValue | |
| System.Boolean | cloneHeaders | |
| System.Boolean | cloneCorrelation | 
Properties
ExceptionData
Returns remote exception data if any
Declaration
public WrappedExceptionData ExceptionData { get; }
  Property Value
| Type | Description | 
|---|---|
| WrappedExceptionData | 
OK
Returns true when reponse does not contain remote server exception which is represented by WrappedExceptionData
Declaration
public bool OK { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
RemoteInstance
For stateful servers returns instance ID
Declaration
public Guid? RemoteInstance { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Nullable<System.Guid> | 
RequestID
Returns request ID this response is for
Declaration
public override FID RequestID { get; }
  Property Value
| Type | Description | 
|---|---|
| FID | 
Overrides
ReturnValue
Returns return value of the called method. Note: out and ref params are not supported
Declaration
public object ReturnValue { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Object |