ProgressMessageHandler Class
Generates progress notification for both request entities being uploaded and response entities being downloaded.
Namespace: System.Net.Http.Handlers
Assembly: System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
Inheritance Hierarchy
System.Object
System.Net.Http.HttpMessageHandler
System.Net.Http.DelegatingHandler
System.Net.Http.Handlers.ProgressMessageHandler
Syntax
public class ProgressMessageHandler : DelegatingHandler
public ref class ProgressMessageHandler : DelegatingHandler
type ProgressMessageHandler =
class
inherit DelegatingHandler
end
Public Class ProgressMessageHandler
Inherits DelegatingHandler
Constructors
Name | Description | |
---|---|---|
ProgressMessageHandler() | Initializes a new instance of the ProgressMessageHandler class. |
|
ProgressMessageHandler(HttpMessageHandler) | Initializes a new instance of the ProgressMessageHandler class. |
Properties
Name | Description | |
---|---|---|
InnerHandler | (Inherited from DelegatingHandler.) |
Methods
Name | Description | |
---|---|---|
Dispose() | (Inherited from HttpMessageHandler.) |
|
Dispose(Boolean) | (Inherited from DelegatingHandler.) |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
OnHttpRequestProgress(HttpRequestMessage, HttpProgressEventArgs) | Raises the event that handles the request of the progress. |
|
OnHttpResponseProgress(HttpRequestMessage, HttpProgressEventArgs) | Raises the event that handles the response of the progress. |
|
SendAsync(HttpRequestMessage, CancellationToken) | Sends the specified progress message to an HTTP server for delivery.(Overrides DelegatingHandler.SendAsync(HttpRequestMessage, CancellationToken).) |
|
ToString() | (Inherited from Object.) |
Events
Name | Description | |
---|---|---|
HttpReceiveProgress | Occurs when event entities are being downloaded. |
|
HttpSendProgress | Occurs when event entities are being uploaded. |
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.
See Also
System.Net.Http.Handlers Namespace
Return to top