Compartir a través de


Engine.CancelAssessment Method

Applies To: Windows 8.1

Asynchronously requests that the specified assessment stop running.

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

Usage

'Usage
Dim instance As Engine
Dim assessmentIndex As Integer

instance.CancelAssessment(assessmentIndex)

Syntax

'Declaration
Public Sub CancelAssessment ( _
    assessmentIndex As Integer _
)
public void CancelAssessment (
    int assessmentIndex
)
public:
void CancelAssessment (
    int assessmentIndex
)
public void CancelAssessment (
    int assessmentIndex
)
public function CancelAssessment (
    assessmentIndex : int
)

Parameters

  • assessmentIndex
    The index of the assessment to cancel. The assessment can only be cancelled when it is running. An assessment’s index is its position in the job list.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows 8.1

See Also

Reference

Engine Class
Engine Members
Microsoft.Assessments.Hosting Namespace