次の方法で共有


ThreadingModel Enumeration

Applies To: Windows 8.1

Specifies the threading model the engine should use when invoking callbacks provided by the solution.

Namespace: Microsoft.Assessments.Hosting
Assembly: Microsoft.Assessments.Core (in Microsoft.Assessments.Core.dll)

Usage

'Usage
Dim instance As ThreadingModel

Syntax

'Declaration
Public Enumeration ThreadingModel
public enum ThreadingModel
public enum class ThreadingModel
public enum ThreadingModel
public enum ThreadingModel

Members

Member name Description
AsyncProcedureCall The AXE engine will use asynchronous procedure calls to execute a callback. The thread that registered the callbacks will be the thread that is invoked when a callback is executed. The value of this member is 2.
Free The AXE engine invokes each callback directly from the context of a thread created and managed by the engine. This may or may not be the same thread for each callback. The value of this member is 1.
Invalid This is an invalid value used primarily for range checking of valid ThreadingModel values. The value of this member is 3.
None No threading model was specified. This is an invalid value. The value of this member is 0.

Platforms

Development Platforms

Windows 8.1

See Also

Reference

Microsoft.Assessments.Hosting Namespace