This documentation is archived and is not being maintained.

HttpContinueDelegate Delegate

Represents the method that notifies callers when a continue response is received by the client.

[Visual Basic]
Public Delegate Sub HttpContinueDelegate( _
   ByVal StatusCode As Integer, _
   ByVal httpHeaders As WebHeaderCollection _
public delegate void HttpContinueDelegate(
   int StatusCode,
   WebHeaderCollection httpHeaders
public __gc __delegate void HttpContinueDelegate(
   int StatusCode,
   WebHeaderCollection* httpHeaders

[JScript] In JScript, you can use the delegates in the .NET Framework, but you cannot define your own.

Parameters [Visual Basic, C#, C++]

The declaration of your callback method must have the same parameters as the HttpContinueDelegate delegate declaration.

The numeric value of the HTTP status from the server.
The headers returned with the 100-continue response from the server.


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. Your 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.


Namespace: System.Net

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

Assembly: System (in System.dll)

See Also

System.Net Namespace