Back to product page

ProgressEvent event


Fires during sending or receiving request and response body.

Syntax

  • C#
  • VB.NET
delegate void ProgressDelegate(object Sender, WebProgressArgs Args);
The ProgressEvent(Args.Position,Args.Request,Args.Response,Args.Total,Args.User) syntax has these parts:
Args.PositionInteger. Provides number of currently received/sent bytes.
Args.RequestWebRequest object. Provides reference to request that was made by the client.
Args.ResponseWebResponse object. Response that is being served to client.
Args.TotalInteger. Provides number of total bytes that are going to be received/sent.
Args.UserWebUser object. Reference to the user who is connected to the server.

Delegate Sub ProgressDelegate(ByVal Sender as Object, ByVal Args As WebProgressArgs)
The ProgressEvent(Args.Position,Args.Request,Args.Response,Args.Total,Args.User) syntax has these parts:
Args.PositionInteger. Provides number of currently received/sent bytes.
Args.RequestWebRequest object. Provides reference to request that was made by the client.
Args.ResponseWebResponse object. Response that is being served to client.
Args.TotalInteger. Provides number of total bytes that are going to be received/sent.
Args.UserWebUser object. Reference to the user who is connected to the server.

Remarks

Progress event is fired during the session when client uploads or downloads body of the document. As body is transferred, you can see progress of the transfer through this event.

Platforms

Windows