Search Results for

    Show / Hide Table of Contents

    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.

    Namespace: Reportman.Drawing
    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
    Type Name Description
    object object
    nint method

    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
    Type Name Description
    string filename
    int file
    int filecount
    int position
    int size
    bool docancel
    AsyncCallback callback
    object object
    Returns
    Type Description
    IAsyncResult
    View Source

    EndInvoke(ref bool, IAsyncResult)

    Declaration
    public virtual void EndInvoke(ref bool docancel, IAsyncResult result)
    Parameters
    Type Name Description
    bool docancel
    IAsyncResult result
    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
    Type Name Description
    string filename
    int file
    int filecount
    int position
    int size
    bool docancel
    • View Source
    In this article
    Back to top Generated by DocFX