Share via


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
System_CAPS_pubmethod ProgressMessageHandler()

Initializes a new instance of the ProgressMessageHandler class.

System_CAPS_pubmethod ProgressMessageHandler(HttpMessageHandler)

Initializes a new instance of the ProgressMessageHandler class.

Properties

Name Description
System_CAPS_pubproperty InnerHandler

(Inherited from DelegatingHandler.)

Methods

Name Description
System_CAPS_pubmethod Dispose()

(Inherited from HttpMessageHandler.)

System_CAPS_protmethod Dispose(Boolean)

(Inherited from DelegatingHandler.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod OnHttpRequestProgress(HttpRequestMessage, HttpProgressEventArgs)

Raises the event that handles the request of the progress.

System_CAPS_protmethod OnHttpResponseProgress(HttpRequestMessage, HttpProgressEventArgs)

Raises the event that handles the response of the progress.

System_CAPS_protmethod SendAsync(HttpRequestMessage, CancellationToken)

Sends the specified progress message to an HTTP server for delivery.(Overrides DelegatingHandler.SendAsync(HttpRequestMessage, CancellationToken).)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Events

Name Description
System_CAPS_pubevent HttpReceiveProgress

Occurs when event entities are being downloaded.

System_CAPS_pubevent 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