AsyncCmdlet.ShouldContinue Method (String, String, Boolean, Boolean)

This element is introduced in Windows PowerShell 5.0.


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

'Usage
Dim instance As AsyncCmdlet
Dim query As String
Dim caption As String
Dim yesToAll As Boolean
Dim noToAll As Boolean
Dim returnValue As Task(Of Boolean)

returnValue = instance.ShouldContinue(query, caption, yesToAll, noToAll)

[SuppressMessageAttribute("Microsoft.Design", "CA1045:DoNotPassTypesByReference", Justification="MYOB.")] 
public Task<bool> ShouldContinue (
	string query,
	string caption,
	ref bool yesToAll,
	ref bool noToAll
)
/** @attribute SuppressMessageAttribute("Microsoft.Design", "CA1045:DoNotPassTypesByReference", Justification="MYOB.") */ 
public Task<boolean> ShouldContinue (
	String query, 
	String caption, 
	/** @ref */ boolean yesToAll, 
	/** @ref */ boolean noToAll
)

Parameters

query

caption

yesToAll

noToAll

Return Value

Returns Task.

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

 

Target Platforms


Show: