HttpContinueDelegate HttpContinueDelegate HttpContinueDelegate HttpContinueDelegate Delegate

정의

클라이언트가 계속 응답을 받을 때 호출자에게 알리는 메서드를 나타냅니다.Represents the method that notifies callers when a continue response is received by the client.

public delegate void HttpContinueDelegate(int StatusCode, WebHeaderCollection ^ httpHeaders);
public delegate void HttpContinueDelegate(int StatusCode, WebHeaderCollection httpHeaders);
type HttpContinueDelegate = delegate of int * WebHeaderCollection -> unit
Public Delegate Sub HttpContinueDelegate(StatusCode As Integer, httpHeaders As WebHeaderCollection)

매개 변수

StatusCode
Int32 Int32 Int32 Int32

서버에서 HTTP 상태의 숫자 값입니다.The numeric value of the HTTP status from the server.

httpHeaders
WebHeaderCollection WebHeaderCollection WebHeaderCollection WebHeaderCollection

서버에서 100-continue 응답으로 반환된 헤더입니다.The headers returned with the 100-continue response from the server.

상속
HttpContinueDelegateHttpContinueDelegateHttpContinueDelegateHttpContinueDelegate

설명

사용 하 여 HttpContinueDelegate 때 100 HTTP 호출 될 콜백 메서드를 지정 하려면-서버에서 응답을 받을입니다.Use HttpContinueDelegate to specify the callback method to be called when an HTTP 100-continue response is received from the server. 집합 대리자가 호출 될 때 때마다 첫 번째 프로토콜에 대 한 응답 형식 HttpStatusCode.Continue 수신 됩니다.When set, the delegate is called whenever the first protocol response of type HttpStatusCode.Continue is received. 이 변경 내용 버전 1.1의 동작에서 프레임 워크입니다.This is a change from the behavior of the version 1.1 Framework.

이벤트 처리기와 동일한 매개 변수를 선언 해야 합니다는 HttpContinueDelegate합니다.Your event handler must declare the same parameters as the HttpContinueDelegate.

참고

StatusCode 항상 HttpStatusCode.Continue합니다.StatusCode is always HttpStatusCode.Continue.

클라이언트가 서버에서 수신 되는 데이터의 상태를 표시 하려는 경우에 유용 합니다.This is useful when the client wants to display the status of data being received from the server.

확장 메서드

GetMethodInfo(Delegate) GetMethodInfo(Delegate) GetMethodInfo(Delegate) GetMethodInfo(Delegate)

지정된 대리자가 나타내는 메서드를 나타내는 개체를 가져옵니다.Gets an object that represents the method represented by the specified delegate.

적용 대상