Click or drag to resize

wclThreadSynchronize Method

Executes a method call within the main thread.

Namespace: wclCommon
Assembly: wclCommon (in wclCommon.dll) Version: 7.11.10.0 (7.11.10.0)
Syntax
protected int Synchronize(
	Object Param
)

Parameters

Param  Object
An object with any custom user-defined data.

Return Value

Int32
If the function succeed the returns value is WCL_E_SUCCESS. Otherwise the function returns one of the WCL error codes.
Remarks
The method causes the OnSynchronize method to be executed using the main thread (the thread, that was used to call the Run). The thread execution is blocked until the OnSynchronize method completes.
See Also