다음을 통해 공유


HealthCheckOptions.ResponseWriter 속성

정의

응답을 작성하는 데 사용되는 대리자를 가져오거나 설정합니다.

public:
 property Func<Microsoft::AspNetCore::Http::HttpContext ^, Microsoft::Extensions::Diagnostics::HealthChecks::HealthReport ^, System::Threading::Tasks::Task ^> ^ ResponseWriter { Func<Microsoft::AspNetCore::Http::HttpContext ^, Microsoft::Extensions::Diagnostics::HealthChecks::HealthReport ^, System::Threading::Tasks::Task ^> ^ get(); void set(Func<Microsoft::AspNetCore::Http::HttpContext ^, Microsoft::Extensions::Diagnostics::HealthChecks::HealthReport ^, System::Threading::Tasks::Task ^> ^ value); };
public Func<Microsoft.AspNetCore.Http.HttpContext,Microsoft.Extensions.Diagnostics.HealthChecks.HealthReport,System.Threading.Tasks.Task> ResponseWriter { get; set; }
member this.ResponseWriter : Func<Microsoft.AspNetCore.Http.HttpContext, Microsoft.Extensions.Diagnostics.HealthChecks.HealthReport, System.Threading.Tasks.Task> with get, set
Public Property ResponseWriter As Func(Of HttpContext, HealthReport, Task)

속성 값

설명

기본값은 값이 문자열인 최소 text/plain 응답을 Status 작성하는 대리자입니다.

적용 대상