[]
        
(Showing Draft Content)

C1.Document.LongOperationEventArgs.-ctor

LongOperationEventArgs Constructor

LongOperationEventArgs()

Creates a new instance of LongOperationEventArgs with default properties (Complete=0, CanCancel=false).

Declaration
public LongOperationEventArgs()

LongOperationEventArgs(double)

Creates a new instance of LongOperationEventArgs with the specified complete value and CanCancel=false.

Declaration
public LongOperationEventArgs(double complete)
Parameters
Type Name Description
double complete

How much is complete (from 0 to 1).

LongOperationEventArgs(double, bool)

Creates a new instance of LongOperationEventArgs with the specified complete and CanCancel values.

Declaration
public LongOperationEventArgs(double complete, bool canCancel)
Parameters
Type Name Description
double complete

How much is complete (from 0 to 1).

bool canCancel

Whether the operation can be cancelled.

LongOperationEventArgs(bool)

Creates a new instance of LongOperationEventArgs with the specified CanCancel value and Complete=0.

Declaration
public LongOperationEventArgs(bool canCancel)
Parameters
Type Name Description
bool canCancel

Whether the operation can be cancelled.