ProgressMessageHandler Class
Generates progress notification for both request entities being uploaded and response entities being downloaded.
Inheritance Hierarchy
System.Object
HttpMessageHandler
DelegatingHandler
System.Net.Http.Handlers.ProgressMessageHandler
Namespace: System.Net.Http.Handlers
Assembly: System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
Syntax
'Declaration
Public Class ProgressMessageHandler _
Inherits DelegatingHandler
'Usage
Dim instance As ProgressMessageHandler
public class ProgressMessageHandler : DelegatingHandler
public ref class ProgressMessageHandler : public DelegatingHandler
type ProgressMessageHandler =
class
inherit DelegatingHandler
end
public class ProgressMessageHandler extends DelegatingHandler
The ProgressMessageHandler type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ProgressMessageHandler() | Initializes a new instance of the ProgressMessageHandler class. | |
ProgressMessageHandler(HttpMessageHandler) | Initializes a new instance of the ProgressMessageHandler class. |
Top
Properties
Name | Description | |
---|---|---|
InnerHandler | (Inherited from DelegatingHandler.) |
Top
Methods
Name | Description | |
---|---|---|
Dispose | (Inherited from HttpMessageHandler.) | |
Dispose(Boolean) | (Inherited from DelegatingHandler.) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
OnHttpRequestProgress | Raises the event that handles the request of the progress. | |
OnHttpResponseProgress | Raises the event that handles the response of the progress. | |
SendAsync | Sends the specified progress message to an HTTP server for delivery. (Overrides DelegatingHandlerSendAsync(HttpRequestMessage, CancellationToken).) | |
ToString | (Inherited from Object.) |
Top
Events
Name | Description | |
---|---|---|
HttpReceiveProgress | Occurs when event entities are being downloaded. | |
HttpSendProgress | Occurs when event entities are being uploaded. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.