The LongOperationEventArgs type exposes the following members.

Constructors

  Name Description
Public method LongOperationEventArgs()()()()
Creates a new instance of LongOperationEventArgs with default properties (Complete=0, CanCancel=false).
Public method LongOperationEventArgs(Boolean)
Creates a new instance of LongOperationEventArgs with the specified CanCancel value and Complete=0.
Public method LongOperationEventArgs(Double)
Creates a new instance of LongOperationEventArgs with the specified complete value and CanCancel=false.
Public method LongOperationEventArgs(Double, Boolean)
Creates a new instance of LongOperationEventArgs with the specified complete and CanCancel values.

Properties

  Name Description
Public property CanCancel
Gets the value indicating whether the event handler can cancel the current long operation by setting the Cancel property to true.
Public property Cancel
Gets or sets a value indicating whether the current long operation should be cancelled. (This property is ignored if CanCancel is false.)
Public property Complete
Gets the approximate completed ratio, from 0 (0% complete) to 1 (100% complete).

See Also