다음을 통해 공유


HealthCheckRegistration 생성자

정의

오버로드

HealthCheckRegistration(String, IHealthCheck, Nullable<HealthStatus>, IEnumerable<String>)

기존 IHealthCheck 인스턴스에 대한 새 HealthCheckRegistration을 만듭니다.

HealthCheckRegistration(String, Func<IServiceProvider,IHealthCheck>, Nullable<HealthStatus>, IEnumerable<String>)

기존 IHealthCheck 인스턴스에 대한 새 HealthCheckRegistration을 만듭니다.

HealthCheckRegistration(String, IHealthCheck, Nullable<HealthStatus>, IEnumerable<String>, Nullable<TimeSpan>)

기존 IHealthCheck 인스턴스에 대한 새 HealthCheckRegistration을 만듭니다.

HealthCheckRegistration(String, Func<IServiceProvider,IHealthCheck>, Nullable<HealthStatus>, IEnumerable<String>, Nullable<TimeSpan>)

기존 IHealthCheck 인스턴스에 대한 새 HealthCheckRegistration을 만듭니다.

HealthCheckRegistration(String, IHealthCheck, Nullable<HealthStatus>, IEnumerable<String>)

Source:
HealthCheckRegistration.cs
Source:
HealthCheckRegistration.cs
Source:
HealthCheckRegistration.cs

기존 IHealthCheck 인스턴스에 대한 새 HealthCheckRegistration을 만듭니다.

public:
 HealthCheckRegistration(System::String ^ name, Microsoft::Extensions::Diagnostics::HealthChecks::IHealthCheck ^ instance, Nullable<Microsoft::Extensions::Diagnostics::HealthChecks::HealthStatus> failureStatus, System::Collections::Generic::IEnumerable<System::String ^> ^ tags);
public HealthCheckRegistration (string name, Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck instance, Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus? failureStatus, System.Collections.Generic.IEnumerable<string>? tags);
new Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckRegistration : string * Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck * Nullable<Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus> * seq<string> -> Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckRegistration
Public Sub New (name As String, instance As IHealthCheck, failureStatus As Nullable(Of HealthStatus), tags As IEnumerable(Of String))

매개 변수

name
String

상태 검사 이름입니다.

instance
IHealthCheck

IHealthCheck 인스턴스입니다.

failureStatus
Nullable<HealthStatus>

상태 검사 실패 시 보고되어야 하는 HealthStatus입니다. 제공된 값이 null이면 Unhealthy가 보고됩니다.

tags
IEnumerable<String>

상태 검사를 필터링하는 데 사용할 수 있는 태그 목록입니다.

적용 대상

HealthCheckRegistration(String, Func<IServiceProvider,IHealthCheck>, Nullable<HealthStatus>, IEnumerable<String>)

Source:
HealthCheckRegistration.cs
Source:
HealthCheckRegistration.cs
Source:
HealthCheckRegistration.cs

기존 IHealthCheck 인스턴스에 대한 새 HealthCheckRegistration을 만듭니다.

public:
 HealthCheckRegistration(System::String ^ name, Func<IServiceProvider ^, Microsoft::Extensions::Diagnostics::HealthChecks::IHealthCheck ^> ^ factory, Nullable<Microsoft::Extensions::Diagnostics::HealthChecks::HealthStatus> failureStatus, System::Collections::Generic::IEnumerable<System::String ^> ^ tags);
public HealthCheckRegistration (string name, Func<IServiceProvider,Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck> factory, Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus? failureStatus, System.Collections.Generic.IEnumerable<string>? tags);
new Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckRegistration : string * Func<IServiceProvider, Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck> * Nullable<Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus> * seq<string> -> Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckRegistration
Public Sub New (name As String, factory As Func(Of IServiceProvider, IHealthCheck), failureStatus As Nullable(Of HealthStatus), tags As IEnumerable(Of String))

매개 변수

name
String

상태 검사 이름입니다.

factory
Func<IServiceProvider,IHealthCheck>

IHealthCheck 인스턴스를 만드는 데 사용되는 대리자입니다.

failureStatus
Nullable<HealthStatus>

상태 검사에서 실패를 보고할 때 보고되어야 하는 HealthStatus입니다. 제공된 값이 null이면 Unhealthy가 보고됩니다.

tags
IEnumerable<String>

상태 검사를 필터링하는 데 사용할 수 있는 태그 목록입니다.

적용 대상

HealthCheckRegistration(String, IHealthCheck, Nullable<HealthStatus>, IEnumerable<String>, Nullable<TimeSpan>)

Source:
HealthCheckRegistration.cs
Source:
HealthCheckRegistration.cs
Source:
HealthCheckRegistration.cs

기존 IHealthCheck 인스턴스에 대한 새 HealthCheckRegistration을 만듭니다.

public:
 HealthCheckRegistration(System::String ^ name, Microsoft::Extensions::Diagnostics::HealthChecks::IHealthCheck ^ instance, Nullable<Microsoft::Extensions::Diagnostics::HealthChecks::HealthStatus> failureStatus, System::Collections::Generic::IEnumerable<System::String ^> ^ tags, Nullable<TimeSpan> timeout);
public HealthCheckRegistration (string name, Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck instance, Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus? failureStatus, System.Collections.Generic.IEnumerable<string>? tags, TimeSpan? timeout);
new Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckRegistration : string * Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck * Nullable<Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus> * seq<string> * Nullable<TimeSpan> -> Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckRegistration
Public Sub New (name As String, instance As IHealthCheck, failureStatus As Nullable(Of HealthStatus), tags As IEnumerable(Of String), timeout As Nullable(Of TimeSpan))

매개 변수

name
String

상태 검사 이름입니다.

instance
IHealthCheck

IHealthCheck 인스턴스입니다.

failureStatus
Nullable<HealthStatus>

상태 검사 실패 시 보고되어야 하는 HealthStatus입니다. 제공된 값이 null이면 Unhealthy가 보고됩니다.

tags
IEnumerable<String>

상태 검사를 필터링하는 데 사용할 수 있는 태그 목록입니다.

timeout
Nullable<TimeSpan>

검사 시간 제한을 나타내는 선택적 TimeSpan입니다.

적용 대상

HealthCheckRegistration(String, Func<IServiceProvider,IHealthCheck>, Nullable<HealthStatus>, IEnumerable<String>, Nullable<TimeSpan>)

Source:
HealthCheckRegistration.cs
Source:
HealthCheckRegistration.cs
Source:
HealthCheckRegistration.cs

기존 IHealthCheck 인스턴스에 대한 새 HealthCheckRegistration을 만듭니다.

public:
 HealthCheckRegistration(System::String ^ name, Func<IServiceProvider ^, Microsoft::Extensions::Diagnostics::HealthChecks::IHealthCheck ^> ^ factory, Nullable<Microsoft::Extensions::Diagnostics::HealthChecks::HealthStatus> failureStatus, System::Collections::Generic::IEnumerable<System::String ^> ^ tags, Nullable<TimeSpan> timeout);
public HealthCheckRegistration (string name, Func<IServiceProvider,Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck> factory, Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus? failureStatus, System.Collections.Generic.IEnumerable<string>? tags, TimeSpan? timeout);
new Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckRegistration : string * Func<IServiceProvider, Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck> * Nullable<Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus> * seq<string> * Nullable<TimeSpan> -> Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckRegistration
Public Sub New (name As String, factory As Func(Of IServiceProvider, IHealthCheck), failureStatus As Nullable(Of HealthStatus), tags As IEnumerable(Of String), timeout As Nullable(Of TimeSpan))

매개 변수

name
String

상태 검사 이름입니다.

factory
Func<IServiceProvider,IHealthCheck>

IHealthCheck 인스턴스를 만드는 데 사용되는 대리자입니다.

failureStatus
Nullable<HealthStatus>

상태 검사에서 실패를 보고할 때 보고되어야 하는 HealthStatus입니다. 제공된 값이 null이면 Unhealthy가 보고됩니다.

tags
IEnumerable<String>

상태 검사를 필터링하는 데 사용할 수 있는 태그 목록입니다.

timeout
Nullable<TimeSpan>

검사 시간 제한을 나타내는 선택적 TimeSpan입니다.

적용 대상