Search Results for

    Show / Hide Table of Contents

    Class OriginValidationException

    The exception that is thrown when the origin of an incoming message does not match the expected value defined by AllowedOriginAttribute. Implements IDomainException so that the pipeline does not trigger retries.

    Inheritance
    object
    Exception
    SystemException
    InvalidOperationException
    OriginValidationException
    Implements
    ISerializable
    IDomainException
    Inherited Members
    Exception.GetBaseException()
    Exception.GetType()
    Exception.ToString()
    Exception.Data
    Exception.HelpLink
    Exception.HResult
    Exception.InnerException
    Exception.Message
    Exception.Source
    Exception.StackTrace
    Exception.TargetSite
    Exception.SerializeObjectState
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Chapar.Core.Exceptions
    Assembly: Chapar.Core.dll
    Syntax
    public class OriginValidationException : InvalidOperationException, ISerializable, IDomainException

    Constructors

    | Edit this page View Source

    OriginValidationException(string, string?)

    Declaration
    public OriginValidationException(string expectedOrigin, string? actualOrigin)
    Parameters
    Type Name Description
    string expectedOrigin
    string actualOrigin

    Properties

    | Edit this page View Source

    ActualOrigin

    Declaration
    public string? ActualOrigin { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    ExpectedOrigin

    Declaration
    public string ExpectedOrigin { get; }
    Property Value
    Type Description
    string

    Implements

    ISerializable
    IDomainException
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2026