AsyncCmdlet.ShouldProcess Method (String, String, String)

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)

Dim instance As AsyncCmdlet
Dim verboseDescription As String
Dim verboseWarning As String
Dim caption As String
Dim returnValue As Task(Of Boolean)

returnValue = instance.ShouldProcess(verboseDescription, verboseWarning, caption)

public Task<bool> ShouldProcess (
	string verboseDescription,
	string verboseWarning,
	string caption
public Task<boolean> ShouldProcess (
	String verboseDescription, 
	String verboseWarning, 
	String caption
public function ShouldProcess (
	verboseDescription : String, 
	verboseWarning : String, 
	caption : String
) : Task<boolean>





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