Show / Hide Table of Contents

    Class DiscoveryException

    The exception that is thrown when TransportMetadataProvider<TTransportMetadata> is unable to discover an expected service.

    Inheritance
    System.Object
    System.Exception
    DiscoveryException
    Implements
    System.Runtime.Serialization.ISerializable
    Namespace: Copper.Conventions.Method.Common.V1.Exceptions
    Assembly: Copper.Conventions.Method.Common.dll
    Syntax
    [Serializable]
    public class DiscoveryException : Exception, ISerializable

    Constructors

    View Source

    DiscoveryException()

    Initializes a new instance of the DiscoveryException class.

    Declaration
    public DiscoveryException()
    View Source

    DiscoveryException(SerializationInfo, StreamingContext)

    Initializes a new instance of the DiscoveryException class.

    Declaration
    protected DiscoveryException(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info

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

    System.Runtime.Serialization.StreamingContext context

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

    View Source

    DiscoveryException(String)

    Initializes a new instance of the DiscoveryException class.

    Declaration
    public DiscoveryException(string message)
    Parameters
    Type Name Description
    System.String message

    The message that describes the error.

    View Source

    DiscoveryException(String, Exception)

    Initializes a new instance of the DiscoveryException class.

    Declaration
    public DiscoveryException(string message, Exception innerException)
    Parameters
    Type Name Description
    System.String message

    The error message that explains the reason for the exception.

    System.Exception innerException

    The exception that is the cause of the current exception.

    Implements

    System.Runtime.Serialization.ISerializable
    • View Source
    Back to top Generated by DocFX