Share via


DefaultHttpHandler.OnExecuteUrlPreconditionFailure 메서드

정의

전제 조건에 따라 DefaultHttpHandler 개체에서 요청을 처리하지 못하는 경우 호출됩니다.

public:
 virtual void OnExecuteUrlPreconditionFailure();
public virtual void OnExecuteUrlPreconditionFailure ();
abstract member OnExecuteUrlPreconditionFailure : unit -> unit
override this.OnExecuteUrlPreconditionFailure : unit -> unit
Public Overridable Sub OnExecuteUrlPreconditionFailure ()

설명

사전 조건이 클라이언트 요청 헤더 필드에서 지정 되 고 웹 서버에서 평가 됩니다. 예를 들어, 전제 조건을 사용 하면 클라이언트 방지할 수 있습니다 (예: GET) 요청 된 메서드가 다른 리소스에 적용 되 고에서. 자세한 내용은 14, "헤더 필드 정의" 섹션을 참조 합니다 Hypertext Transfer Protocol-HTTP/1.1 World Wide Web Consortium (W3C) 웹 사이트에 대 한 사양입니다.

OnExecuteUrlPreconditionFailure 메서드는 사전 조건을 방지는 DefaultHttpHandler 개체에서 요청을 처리 합니다. 파생 클래스에서 재정의 될 수 있습니다는 OnExecuteUrlPreconditionFailure 사전 조건 실패 하는 경우 예외를 throw 하는 방법입니다. 합니다 DefaultHttpHandler 예외를 throw 하지 않습니다는 OnExecuteUrlPreconditionFailure 메서드.

다음 중 하나를 하면 전제 조건이 실패 합니다.

적용 대상