Show / Hide Table of Contents

    Class EndpointCheckResult

    Encapsulates the result of a check performed against an IEndpoint.

    Inheritance
    object
    EndpointCheckResult
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Silverback.Messaging.HealthChecks
    Assembly: Silverback.Integration.dll
    Syntax
    public class EndpointCheckResult

    Constructors

    | Improve this doc View source

    EndpointCheckResult(string, bool, string?)

    Initializes a new instance of the EndpointCheckResult class.

    Declaration
    public EndpointCheckResult(string endpointName, bool isSuccessful, string? errorMessage = null)
    Parameters
    Type Name Description
    string endpointName

    The name of the checked endpoint.

    bool isSuccessful

    A value indicating whether the check was successful.

    string errorMessage

    The error message, if not successful.

    Properties

    | Improve this doc View source

    EndpointName

    Gets the name of the checked endpoint.

    Declaration
    public string EndpointName { get; }
    Property Value
    Type Description
    string
    | Improve this doc View source

    ErrorMessage

    Gets the error message, if not successful.

    Declaration
    public string? ErrorMessage { get; }
    Property Value
    Type Description
    string
    | Improve this doc View source

    IsSuccessful

    Gets a value indicating whether the check was successful.

    Declaration
    public bool IsSuccessful { get; }
    Property Value
    Type Description
    bool
    • Improve this doc
    • View source
    GitHub E-Mail
    ↑ Back to top © 2020 Sergio Aquilini