Delegate CopyProgress
Callback invoked during a file-copy/update operation to report progress for the current file
and allow the handler to request cancellation via the docancel reference parameter.
Assembly: Reportman.Drawing.dll
Syntax
public delegate void CopyProgress(string filename, int file, int filecount, int position, int size, ref bool docancel)
Parameters
| Type |
Name |
Description |
| string |
filename |
Callback invoked during a file-copy/update operation to report progress for the current file and allow the handler to request cancellation via the docancel reference parameter. |
| int |
file |
Callback invoked during a file-copy/update operation to report progress for the current file and allow the handler to request cancellation via the docancel reference parameter. |
| int |
filecount |
Callback invoked during a file-copy/update operation to report progress for the current file and allow the handler to request cancellation via the docancel reference parameter. |
| int |
position |
Callback invoked during a file-copy/update operation to report progress for the current file and allow the handler to request cancellation via the docancel reference parameter. |
| int |
size |
Callback invoked during a file-copy/update operation to report progress for the current file and allow the handler to request cancellation via the docancel reference parameter. |
| bool |
docancel |
Callback invoked during a file-copy/update operation to report progress for the current file and allow the handler to request cancellation via the docancel reference parameter. |
Constructors
View Source
CopyProgress(object, nint)
Declaration
public CopyProgress(object @object, nint method)
Parameters
Methods
View Source
BeginInvoke(string, int, int, int, int, ref bool, AsyncCallback, object)
Declaration
public virtual IAsyncResult BeginInvoke(string filename, int file, int filecount, int position, int size, ref bool docancel, AsyncCallback callback, object @object)
Parameters
Returns
View Source
EndInvoke(ref bool, IAsyncResult)
Declaration
public virtual void EndInvoke(ref bool docancel, IAsyncResult result)
Parameters
View Source
Invoke(string, int, int, int, int, ref bool)
Declaration
public virtual void Invoke(string filename, int file, int filecount, int position, int size, ref bool docancel)
Parameters