CancelProc Class Documentation

classCancelProc : SystemIDisposable

Namespace:Datalogics::PDFL

Inherits from:
SystemIDisposable

Detailed Description

A callback function used to abort an operation.

A CancelProc() value is typically passed to a method that uses it to determine if an asynchronous operation should be ended.

At periodic intervals, the method calls the CancelProc. If the CancelProc returns a "true" boolean value, the method cancels the operation. If CancelProc returns false, the method allows the operation to continue. For example, CancelProc could be used to allow a user to click a Cancel button to end a function.

Uses types

Constructor & Destructor Documentation

CancelProc

CancelProc(CancelProcrhs, InternalConstructsignifier)

Parameters

signifier: InternalConstruct

CancelProc

CancelProc()

A callback function used to abort an operation.

A CancelProc() value is typically passed to a method that uses it to determine if an asynchronous operation should be ended.

At periodic intervals, the method calls the CancelProc. If the CancelProc returns a "true" boolean value, the method cancels the operation. If CancelProc returns false, the method allows the operation to continue. For example, CancelProc could be used to allow a user to click a Cancel button to end a function.

~CancelProc

~CancelProc()

Member Function Documentation

Call

boolCall()

Returns:

bool

ConstructorRetrieve

static CancelProcConstructorRetrieve(System.IntPtrignored)

Parameters

ignored: System.IntPtr

Returns:

CancelProc

Dispose

voidDispose()

Returns:

void

DisposeChildren

voidDisposeChildren()

Returns:

void