ProblemDetails 클래스

정의

를 기반으로 https://tools.ietf.org/html/rfc7807HTTP API 응답에서 오류를 지정하기 위한 컴퓨터 읽기 가능한 형식입니다.

public ref class ProblemDetails
public class ProblemDetails
[System.Text.Json.Serialization.JsonConverter(typeof(Microsoft.AspNetCore.Mvc.Infrastructure.ProblemDetailsJsonConverter))]
public class ProblemDetails
[System.Text.Json.Serialization.JsonConverter(typeof(Microsoft.AspNetCore.Http.ProblemDetailsJsonConverter))]
public class ProblemDetails
type ProblemDetails = class
[<System.Text.Json.Serialization.JsonConverter(typeof(Microsoft.AspNetCore.Mvc.Infrastructure.ProblemDetailsJsonConverter))>]
type ProblemDetails = class
[<System.Text.Json.Serialization.JsonConverter(typeof(Microsoft.AspNetCore.Http.ProblemDetailsJsonConverter))>]
type ProblemDetails = class
Public Class ProblemDetails
상속
ProblemDetails
파생
특성

생성자

ProblemDetails()

를 기반으로 https://tools.ietf.org/html/rfc7807HTTP API 응답에서 오류를 지정하기 위한 컴퓨터 읽기 가능한 형식입니다.

속성

Detail

이 문제 발생과 관련된 사람이 읽을 수 있는 설명입니다.

Extensions

확장 멤버에 대한 를 IDictionary<TKey,TValue> 가져옵니다.

문제 유형 정의는 추가 멤버를 사용하여 문제 세부 정보 개체를 확장할 수 있습니다. 확장 멤버는 문제 유형의 다른 멤버와 동일한 네임스페이스에 표시됩니다.

Instance

문제의 특정 발생을 식별하는 URI 참조입니다. 역참조하는 경우 추가 정보를 얻을 수도 있으며 그렇지 않을 수도 있습니다.

Status

문제가 발생하기 위해 원본 서버에서 생성한 HTTP 상태 코드([RFC7231], 섹션 6)입니다.

Title

문제 유형에 대한 짧고 사람이 읽을 수 있는 요약입니다. 지역화 목적(예: 사전 콘텐츠 협상 사용, [RFC7231], 섹션 3.4 참조)을 제외하고는 발생에서 문제 발생으로 변경해서는 안 됩니다.

Type

문제 유형을 식별하는 URI 참조 [RFC3986]입니다. 이 사양은 역참조 시 문제 유형(예: HTML [W3C 사용)에 대해 사람이 읽을 수 있는 설명서를 제공하도록 권장합니다. REC-html5-20141028]). 이 멤버가 없으면 해당 값은 "about:blank"로 간주됩니다.

적용 대상