Request.IsCancelled Method
Indicates that the operation has been cancelled. The caller can use this method to notify the callee that it does not need more results. This element is introduced in Windows PowerShell 5.0.
Namespace: Microsoft.OneGet.MetaProvider.PowerShell
Assembly: Microsoft.OneGet.MetaProvider.PowerShell (in Microsoft.OneGet.MetaProvider.PowerShell.dll)
Usage
'Usage
Dim instance As Request
Dim returnValue As Boolean
returnValue = instance.IsCancelled
Syntax
'Declaration
Public MustOverride Function IsCancelled As Boolean
public abstract bool IsCancelled ()
public:
virtual bool IsCancelled () abstract
public abstract boolean IsCancelled ()
public abstract function IsCancelled () : boolean
Return Value
Returns TRUE if the operation has been 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
Target Platforms
See Also
Reference
Request Class
Request Members
Microsoft.OneGet.MetaProvider.PowerShell Namespace