Upraviť

Zdieľať cez


HttpWebRequest.ContinueDelegate Property

Definition

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

public:
 property System::Net::HttpContinueDelegate ^ ContinueDelegate { System::Net::HttpContinueDelegate ^ get(); void set(System::Net::HttpContinueDelegate ^ value); };
public System.Net.HttpContinueDelegate? ContinueDelegate { get; set; }
public System.Net.HttpContinueDelegate ContinueDelegate { get; set; }
member this.ContinueDelegate : System.Net.HttpContinueDelegate with get, set
Public Property ContinueDelegate As HttpContinueDelegate

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

See also