HttpWebRequest.ContinueDelegate Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.