Partager via


Engine::GetEventThreadingModel method

Retrieve the threading model that is being used to call the solution s native events that have been registered with the Engine.

Syntax

virtual HRESULT GetEventThreadingModel(
  [out] ThreadingModel *eventThreadingModel
) = 0;

Parameters

eventThreadingModel [out]

The threading model being used when invoking the solution s callbacks. See the ThreadingModel enumeration for details.

Return value

If the function succeeds, it returns S_OK. If it fails, it returns an error value.

Remarks

This method retrieves the threading model that was specified in a successful call to SetEventThreadingModel. This method is only available in the native API. In managed code, .NET events are used instead of callbacks.

Requirements

Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]
Header
AxeHosting.h
DLL
AxeCore.dll

See also

Engine