Share via


ByRefCancellationToken.IsCancellationRequested Property

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.OneGet.Utility.Collections
Assembly: Microsoft.OneGet.Utility (in Microsoft.OneGet.Utility.dll)

Usage

'Usage
Dim instance As ByRefCancellationToken
Dim value As Boolean

value = instance.IsCancellationRequested

Syntax

'Declaration
Public ReadOnly Property IsCancellationRequested As Boolean
public bool IsCancellationRequested { get; }
public:
property bool IsCancellationRequested {
    bool get ();
}
/** @property */
public boolean get_IsCancellationRequested ()
public function get IsCancellationRequested () : boolean

Property Value

Returns Boolean.

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

Target Platforms

See Also

Reference

ByRefCancellationToken Class
ByRefCancellationToken Members
Microsoft.OneGet.Utility.Collections Namespace