HealthReportEntry Konstruktory

Definicja

Przeciążenia

HealthReportEntry(HealthStatus, String, TimeSpan, Exception, IReadOnlyDictionary<String,Object>)

Tworzy nowy HealthReportEntry z określonymi wartościami , status, exceptiondescriptioni data.

HealthReportEntry(HealthStatus, String, TimeSpan, Exception, IReadOnlyDictionary<String,Object>, IEnumerable<String>)

Tworzy nowy HealthReportEntry z określonymi wartościami , status, exceptiondescriptioni data.

HealthReportEntry(HealthStatus, String, TimeSpan, Exception, IReadOnlyDictionary<String,Object>)

Źródło:
HealthReportEntry.cs
Źródło:
HealthReportEntry.cs
Źródło:
HealthReportEntry.cs
Źródło:
HealthReportEntry.cs
Źródło:
HealthReportEntry.cs

Tworzy nowy HealthReportEntry z określonymi wartościami , status, exceptiondescriptioni data.

public:
 HealthReportEntry(Microsoft::Extensions::Diagnostics::HealthChecks::HealthStatus status, System::String ^ description, TimeSpan duration, Exception ^ exception, System::Collections::Generic::IReadOnlyDictionary<System::String ^, System::Object ^> ^ data);
public HealthReportEntry (Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus status, string description, TimeSpan duration, Exception exception, System.Collections.Generic.IReadOnlyDictionary<string,object> data);
public HealthReportEntry (Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus status, string? description, TimeSpan duration, Exception? exception, System.Collections.Generic.IReadOnlyDictionary<string,object>? data);
new Microsoft.Extensions.Diagnostics.HealthChecks.HealthReportEntry : Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus * string * TimeSpan * Exception * System.Collections.Generic.IReadOnlyDictionary<string, obj> -> Microsoft.Extensions.Diagnostics.HealthChecks.HealthReportEntry
Public Sub New (status As HealthStatus, description As String, duration As TimeSpan, exception As Exception, data As IReadOnlyDictionary(Of String, Object))

Parametry

status
HealthStatus

Wartość wskazująca stan kondycji składnika, który został sprawdzony.

description
String

Czytelny dla człowieka opis stanu sprawdzanego składnika.

duration
TimeSpan

Wartość wskazująca czas trwania wykonywania kondycji.

exception
Exception

Reprezentujący Exception wyjątek, który został zgłoszony podczas sprawdzania stanu (jeśli istnieje).

data
IReadOnlyDictionary<String,Object>

Dodatkowe pary klucz-wartość opisujące kondycję składnika.

Dotyczy

HealthReportEntry(HealthStatus, String, TimeSpan, Exception, IReadOnlyDictionary<String,Object>, IEnumerable<String>)

Źródło:
HealthReportEntry.cs
Źródło:
HealthReportEntry.cs
Źródło:
HealthReportEntry.cs
Źródło:
HealthReportEntry.cs
Źródło:
HealthReportEntry.cs

Tworzy nowy HealthReportEntry z określonymi wartościami , status, exceptiondescriptioni data.

public HealthReportEntry (Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus status, string description, TimeSpan duration, Exception exception, System.Collections.Generic.IReadOnlyDictionary<string,object> data, System.Collections.Generic.IEnumerable<string> tags = default);
public HealthReportEntry (Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus status, string? description, TimeSpan duration, Exception? exception, System.Collections.Generic.IReadOnlyDictionary<string,object>? data, System.Collections.Generic.IEnumerable<string>? tags = default);
new Microsoft.Extensions.Diagnostics.HealthChecks.HealthReportEntry : Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus * string * TimeSpan * Exception * System.Collections.Generic.IReadOnlyDictionary<string, obj> * seq<string> -> Microsoft.Extensions.Diagnostics.HealthChecks.HealthReportEntry
Public Sub New (status As HealthStatus, description As String, duration As TimeSpan, exception As Exception, data As IReadOnlyDictionary(Of String, Object), Optional tags As IEnumerable(Of String) = Nothing)

Parametry

status
HealthStatus

Wartość wskazująca stan kondycji składnika, który został sprawdzony.

description
String

Czytelny dla człowieka opis stanu sprawdzanego składnika.

duration
TimeSpan

Wartość wskazująca czas trwania wykonywania kondycji.

exception
Exception

Reprezentujący Exception wyjątek, który został zgłoszony podczas sprawdzania stanu (jeśli istnieje).

data
IReadOnlyDictionary<String,Object>

Dodatkowe pary klucz-wartość opisujące kondycję składnika.

tags
IEnumerable<String>

Tagi skojarzone z sprawdzaniem kondycji, które wygenerowały wpis raportu.

Dotyczy