HttpWebRequest.ContinueDelegate Property

Definition

Gets or sets the delegate method called when an HTTP 100-continue response is received from the Internet resource.

C#
public System.Net.HttpContinueDelegate? ContinueDelegate { get; set; }
C#
public System.Net.HttpContinueDelegate ContinueDelegate { get; set; }

Property Value

A delegate that implements the callback method that executes when an HTTP Continue response is returned from the Internet resource. The default value is null.

Remarks

Caution

WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete, and you shouldn't use them for new development. Use HttpClient instead.

The ContinueDelegate property specifies the callback method to call when the client receives a 100-Continue response.

When the ContinueDelegate property is set, the client calls the delegate whenever protocol responses of type HttpStatusCode.Continue (100) are received. This is useful if you want the client to display the status of the data being received from the Internet resource.

Applies to

Product Versions
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

See also