Request.OkToContinue Method
The provider can query to see if the operation has been cancelled. This provides for a gentle way for the caller to notify the callee that they don't want any more results. It's essentially just !IsCancelled 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.OkToContinue
Syntax
'Declaration
Public MustOverride Function OkToContinue As Boolean
public abstract bool OkToContinue ()
public:
virtual bool OkToContinue () abstract
public abstract boolean OkToContinue ()
public abstract function OkToContinue () : boolean
Return Value
returns FALSE 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