System.Net.HttpContinueDelegate Delegate

Assembly: System.dll
Namespace: System.Net
Summary
Represents the method that notifies callers when a continue response is received by the client.
C# Syntax:
[Serializable]
public delegate void HttpContinueDelegate(int StatusCode, WebHeaderCollection httpHeaders);
Parameters:
The declaration of your event handler must have the same parameters as the HttpContinueDelegate delegate declaration.

StatusCode

The numeric value of the HTTP status from the server.

httpHeaders

The headers returned with the 100-continue response from the server.

Remarks
Use HttpContinueDelegate to specify the callback method to be called when an HTTP 100-continue response is received from the server. When set, the delegate is called whenever protocol responses of type HttpStatusCode.Continue are received. You event handler must declare the same parameters as the HttpContinueDelegate.

Note StatusCode is always HttpStatusCode.Continue.

This is useful when the client wants to display the status of data being received from the server.

See also:
System.Net Namespace

Hierarchy:

Top of page

Copyright (c) 2002 Microsoft Corporation. All rights reserved.