HttpContinueDelegate HttpContinueDelegate HttpContinueDelegate HttpContinueDelegate Delegate

Definición

Representa el método que envía una notificación a los llamadores siempre que el cliente recibe una respuesta de continuar.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)

Parámetros

StatusCode
Int32 Int32 Int32 Int32

Valor numérico del estado HTTP del servidor.The numeric value of the HTTP status from the server.

httpHeaders
WebHeaderCollection WebHeaderCollection WebHeaderCollection WebHeaderCollection

Encabezados devueltos con la respuesta 100-continue del servidor.The headers returned with the 100-continue response from the server.

Herencia
HttpContinueDelegateHttpContinueDelegateHttpContinueDelegateHttpContinueDelegate

Comentarios

Use HttpContinueDelegate para especificar el método de devolución de llamada se llama cuando un HTTP 100-continuar se recibe respuesta desde el servidor.Use HttpContinueDelegate to specify the callback method to be called when an HTTP 100-continue response is received from the server. Cuando set, se llama al delegado de cada vez que el primer protocolo respuesta de tipo HttpStatusCode.Continue se recibe.When set, the delegate is called whenever the first protocol response of type HttpStatusCode.Continue is received. Se trata de un cambio del comportamiento de la versión 1.1 de Framework.This is a change from the behavior of the version 1.1 Framework.

El controlador de eventos debe declarar los mismos parámetros que el HttpContinueDelegate.Your event handler must declare the same parameters as the HttpContinueDelegate.

Nota

StatusCode siempre es HttpStatusCode.Continue.StatusCode is always HttpStatusCode.Continue.

Esto es útil cuando el cliente desea mostrar el estado de los datos recibidos desde el servidor.This is useful when the client wants to display the status of data being received from the server.

Extension Methods

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

Obtiene un objeto que representa el método representado por el delegado especificado.Gets an object that represents the method represented by the specified delegate.

Se aplica a