Partager via


Support.CancelEvent Property

Applies To: Windows 8.1

The handle for the cancel event object.

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

Usage

'Usage
Dim instance As Support
Dim value As WaitHandle

value = instance.CancelEvent

Syntax

'Declaration
Public ReadOnly Property CancelEvent As WaitHandle
public WaitHandle CancelEvent { get; }
public:
property WaitHandle^ CancelEvent {
    WaitHandle^ get ();
}
/** @property */
public WaitHandle get_CancelEvent ()
public function get CancelEvent () : WaitHandle

Property Value

Returns WaitHandle.

Remarks

The preferred method for detecting a cancellation request is to use the wait handle to be notified asynchronously when the assessment is being cancelled.

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

Support Class
Support Members
Microsoft.Assessments.Runtime Namespace