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.GetObjectData(SerializationInfo, StreamingContext)
    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: Silverback.Messaging.Subscribers
    Assembly: Silverback.Core.dll
    Syntax
    [Serializable]
    public class SubscribedMethodInvocationException : SilverbackException, ISerializable

    Constructors

    | Improve this doc View source

    SubscribedMethodInvocationException()

    Initializes a new instance of the SubscribedMethodInvocationException class.

    Declaration
    public SubscribedMethodInvocationException()
    | Improve this doc View source

    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.

    | Improve this doc View source

    SubscribedMethodInvocationException(SerializationInfo, StreamingContext)

    Initializes a new instance of the SubscribedMethodInvocationException class with the serialized data.

    Declaration
    protected SubscribedMethodInvocationException(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    SerializationInfo info

    The SerializationInfo that holds the serialized object data about the exception being thrown.

    StreamingContext context

    The StreamingContext that contains contextual information about the source or destination.

    | Improve this doc View source

    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.

    | Improve this doc View source

    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

    | Improve this doc View source

    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
    • Improve this doc
    • View source
    GitHub E-Mail
    ↑ Back to top © 2020 Sergio Aquilini