Show / Hide Table of Contents

    Class RoutingContextMessageProperty

    Provides information about the source of the message.

    Inheritance
    Object
    RoutingContextMessageProperty
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Nevatech.Vsb.Repository.Monitoring
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    public sealed class RoutingContextMessageProperty

    Fields

    Name

    Property name in the message properties collection.

    Declaration
    public const string Name = "Nevatech.Vsb.Repository.Monitoring.RoutingContextMessageProperty"
    Field Value
    Type Description
    String

    Properties

    InboundEndpoint

    Gets or sets the inbound endpoint that received this message.

    Declaration
    public RoutingEndpointDefinition InboundEndpoint { get; set; }
    Property Value
    Type Description
    RoutingEndpointDefinition

    InboundPrincipal

    Gets or sets the identity of the service caller.

    Declaration
    public ClaimsPrincipal InboundPrincipal { get; set; }
    Property Value
    Type Description
    ClaimsPrincipal

    InboundRequest

    Gets or sets the operation information.

    Declaration
    public InboundRequestMessageDefinition InboundRequest { get; set; }
    Property Value
    Type Description
    InboundRequestMessageDefinition

    OutboundEndpoint

    Gets or sets the outbound endpoint that received this message.

    Declaration
    public RoutingEndpointDefinition OutboundEndpoint { get; set; }
    Property Value
    Type Description
    RoutingEndpointDefinition

    Properties

    Gets collection of properties to be passed between message processing components. This collection is initialized with message properties extracted from the message used to create this instance which is usually inbound request message.

    Declaration
    public MessageProperties Properties { get; }
    Property Value
    Type Description
    MessageProperties

    RequestMatch

    Gets or sets the result of the inbound request message template match.

    Declaration
    public MessageTemplateMatch RequestMatch { get; set; }
    Property Value
    Type Description
    MessageTemplateMatch

    Methods

    Get(Exception)

    Returns the RoutingContextMessageProperty from provided exception.

    Declaration
    public static RoutingContextMessageProperty Get(Exception exception)
    Parameters
    Type Name Description
    Exception exception

    The exception where to look for the property.

    Returns
    Type Description
    RoutingContextMessageProperty

    The RoutingContextMessageProperty object, if found; otherwise, null.

    Exceptions
    Type Condition
    ArgumentNullException

    Thrown if provided exception is null.

    Get(Message, Boolean)

    Returns the RoutingContextMessageProperty from provided message.

    Declaration
    public static RoutingContextMessageProperty Get(Message message, bool createIfNotFound)
    Parameters
    Type Name Description
    Message message

    The message where to look for the property.

    Boolean createIfNotFound

    Flag indicating that if property is not found in the message, it has to be created and added to the message properties.

    Returns
    Type Description
    RoutingContextMessageProperty

    The RoutingContextMessageProperty object if found; otherwise, null.

    Exceptions
    Type Condition
    ArgumentNullException

    Thrown if provided message is null.

    Get(MessageProperties, Boolean)

    Returns the RoutingContextMessageProperty from the provided message properties collection.

    Declaration
    public static RoutingContextMessageProperty Get(MessageProperties properties, bool createIfNotFound)
    Parameters
    Type Name Description
    MessageProperties properties

    The message properties collection where to look for the property.

    Boolean createIfNotFound

    Flag indicating that if property is not found in the collection, it has to be created and added to the message properties.

    Returns
    Type Description
    RoutingContextMessageProperty

    The RoutingContextMessageProperty object if found; otherwise, null.

    Exceptions
    Type Condition
    ArgumentNullException

    Thrown if provided message properties collection is null.

    Back to top Nevatech Sentinet 6.5 Online Documentation