FEX Core SDK
  • Documentation
  • C# Reference
Search Results for

    Show / Hide Table of Contents
    • FexViewer
      • FexApi
      • FexCoreException
      • FileRecord
      • ImageMetadata
    • FexViewer.Models
      • Manifest
      • PathBuilder
      • StatusFlags

    Delegate TaskCallback

    Worker-thread callback for RunTask(string, int, string, TaskCallback, nint, out ulong). Return 0 to continue or non-zero to request cancellation. The strMessage in status is valid only for the duration of the call — copy it before returning. Keep the delegate instance alive for the whole task so the GC cannot collect it while the worker thread is still calling back.

    Namespace: FexViewer
    Assembly: FexViewer.dll
    Syntax
    public delegate uint TaskCallback(ref TaskStatusRecord status)
    Parameters
    Type Name Description
    TaskStatusRecord status Worker-thread callback for . Return 0 to continue or non-zero to request cancellation. The strMessage in status is valid only for the duration of the call — copy it before returning. Keep the delegate instance alive for the whole task so the GC cannot collect it while the worker thread is still calling back.
    Returns
    Type Description
    uint Worker-thread callback for . Return 0 to continue or non-zero to request cancellation. The strMessage in status is valid only for the duration of the call — copy it before returning. Keep the delegate instance alive for the whole task so the GC cannot collect it while the worker thread is still calling back.
    In this article
    Back to top © GetData Forensics