Table of Contents

Class EndpointCheckResult

Namespace
Silverback.Messaging.HealthChecks
Assembly
Silverback.Integration.dll

Encapsulates the result of a check performed against a consumer or a producer.

public class EndpointCheckResult
Inheritance
EndpointCheckResult
Inherited Members

Constructors

EndpointCheckResult(string, bool, string?)

Initializes a new instance of the EndpointCheckResult class.

public EndpointCheckResult(string endpointName, bool isSuccessful, string? errorMessage = null)

Parameters

endpointName string

The name of the checked endpoint.

isSuccessful bool

A value indicating whether the check was successful.

errorMessage string

The error message, if not successful.

Properties

EndpointName

Gets the name of the checked endpoint.

public string EndpointName { get; }

Property Value

string

ErrorMessage

Gets the error message, if not successful.

public string? ErrorMessage { get; }

Property Value

string

IsSuccessful

Gets a value indicating whether the check was successful.

public bool IsSuccessful { get; }

Property Value

bool