AsyncCmdlet.Error Method (ErrorMessage)

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 errorMessage As ErrorMessage
Dim returnValue As Boolean

returnValue = Me.Error(errorMessage)

protected bool Error (
	ErrorMessage errorMessage
protected boolean Error (
	ErrorMessage errorMessage
protected function Error (
	errorMessage : ErrorMessage
) : boolean



Return Value

Returns Boolean.

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