Share via


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
Public method ProgressMessageHandler() Initializes a new instance of the ProgressMessageHandler class.
Public method ProgressMessageHandler(HttpMessageHandler) Initializes a new instance of the ProgressMessageHandler class.

Top

Properties

  Name Description
Public property InnerHandler (Inherited from DelegatingHandler.)

Top

Methods

  Name Description
Public method Dispose (Inherited from HttpMessageHandler.)
Protected method Dispose(Boolean) (Inherited from DelegatingHandler.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnHttpRequestProgress Raises the event that handles the request of the progress.
Protected method OnHttpResponseProgress Raises the event that handles the response of the progress.
Protected method SendAsync Sends the specified progress message to an HTTP server for delivery. (Overrides DelegatingHandlerSendAsync(HttpRequestMessage, CancellationToken).)
Public method ToString (Inherited from Object.)

Top

Events

  Name Description
Public event HttpReceiveProgress Occurs when event entities are being downloaded.
Public event 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.

See Also

Reference

System.Net.Http.Handlers Namespace