Show / Hide Table of Contents

    Class SubscribedMethodInvocationException

    The exception that is thrown when a subscribed method cannot be invoked. This usually happens because no value can be resolved for one or more arguments.

    Inheritance
    object
    Exception
    SilverbackException
    SubscribedMethodInvocationException
    Implements
    ISerializable
    Inherited Members
    Exception.GetBaseException()
    Exception.ToString()
    Exception.GetType()
    Exception.TargetSite
    Exception.Message
    Exception.Data
    Exception.InnerException
    Exception.HelpLink
    Exception.Source
    Exception.HResult
    Exception.StackTrace
    Exception.SerializeObjectState
    object.MemberwiseClone()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Silverback.Messaging.Subscribers
    Assembly: Silverback.Core.dll
    Syntax
    [ExcludeFromCodeCoverage]
    public class SubscribedMethodInvocationException : SilverbackException, ISerializable

    Constructors

    SubscribedMethodInvocationException()

    Initializes a new instance of the SubscribedMethodInvocationException class.

    Declaration
    public SubscribedMethodInvocationException()

    SubscribedMethodInvocationException(MethodInfo?, string)

    Initializes a new instance of the SubscribedMethodInvocationException class with the specified message and related to the specified MethodInfo.

    Declaration
    public SubscribedMethodInvocationException(MethodInfo? methodInfo, string message)
    Parameters
    Type Name Description
    MethodInfo methodInfo

    The MethodInfo of the related subscribed method.

    string message

    The exception message.

    SubscribedMethodInvocationException(string)

    Initializes a new instance of the SubscribedMethodInvocationException class with the specified message.

    Declaration
    public SubscribedMethodInvocationException(string message)
    Parameters
    Type Name Description
    string message

    The exception message.

    SubscribedMethodInvocationException(string, Exception)

    Initializes a new instance of the SubscribedMethodInvocationException class with the specified message and inner exception.

    Declaration
    public SubscribedMethodInvocationException(string message, Exception innerException)
    Parameters
    Type Name Description
    string message

    The exception message.

    Exception innerException

    The inner exception.

    Properties

    MethodInfo

    Gets the MethodInfo representing the subscribed method whose invocation thrown the exception.

    Declaration
    public MethodInfo? MethodInfo { get; }
    Property Value
    Type Description
    MethodInfo

    Implements

    ISerializable
    GitHub E-Mail
    ↑ Back to top © 2026 Sergio Aquilini