HealthReportEntry Konstruktory

Definice

Přetížení

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

Vytvoří nový HealthReportEntry se zadanými hodnotami pro status, exception, descriptiona data.

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

Vytvoří nový HealthReportEntry se zadanými hodnotami pro status, exception, descriptiona data.

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

Zdroj:
HealthReportEntry.cs
Zdroj:
HealthReportEntry.cs
Zdroj:
HealthReportEntry.cs
Zdroj:
HealthReportEntry.cs
Zdroj:
HealthReportEntry.cs

Vytvoří nový HealthReportEntry se zadanými hodnotami pro status, exception, descriptiona 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

Hodnota označující stav součásti, která byla zkontrolována.

description
String

Popis stavu komponenty, která byla zkontrolována, je čitelný pro člověka.

duration
TimeSpan

Hodnota označující dobu provádění stavu.

exception
Exception

Představující Exception výjimku, která byla vyvolán při kontrole stavu (pokud existuje).

data
IReadOnlyDictionary<String,Object>

Další páry klíč-hodnota popisující stav komponenty.

Platí pro

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

Zdroj:
HealthReportEntry.cs
Zdroj:
HealthReportEntry.cs
Zdroj:
HealthReportEntry.cs
Zdroj:
HealthReportEntry.cs
Zdroj:
HealthReportEntry.cs

Vytvoří nový HealthReportEntry se zadanými hodnotami pro status, exception, descriptiona 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

Hodnota označující stav součásti, která byla zkontrolována.

description
String

Popis stavu komponenty, která byla zkontrolována, je čitelný pro člověka.

duration
TimeSpan

Hodnota označující dobu provádění stavu.

exception
Exception

Představující Exception výjimku, která byla vyvolán při kontrole stavu (pokud existuje).

data
IReadOnlyDictionary<String,Object>

Další páry klíč-hodnota popisující stav komponenty.

tags
IEnumerable<String>

Značky přidružené k kontrole stavu, která vygenerovala položku sestavy.

Platí pro