HttpContinueDelegate Delegate
Represents the method that notifies callers when a continue response is received by the client.
[Visual Basic] <Serializable> Public Delegate Sub HttpContinueDelegate( _ ByVal StatusCode As Integer, _ ByVal httpHeaders As WebHeaderCollection _ ) [C#] [Serializable] public delegate void HttpContinueDelegate( int StatusCode, WebHeaderCollection httpHeaders ); [C++] [Serializable] 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.
- 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. 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.
Requirements
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)