Share via


AsyncCmdlet.Message Method (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)

Usage

'Usage
Dim instance As AsyncCmdlet
Dim messageText As String
Dim returnValue As Boolean

returnValue = instance.Message(messageText)

Syntax

'Declaration
Public Function Message ( _
    messageText As String _
) As Boolean
public bool Message (
    string messageText
)
public:
bool Message (
    String^ messageText
)
public boolean Message (
    String messageText
)
public function Message (
    messageText : String
) : boolean

Parameters

  • messageText

Return Value

Returns Boolean.

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

AsyncCmdlet Class
AsyncCmdlet Members
Microsoft.OneGet.Utility.PowerShell Namespace