Share via


ICommandOutputEventArg::Message property

Retrieves a line of output from the command or an error message string.

This property is read-only.

Syntax

HRESULT get_Message(
  [out] BSTR *pMessage
);

Property value

A line of output. The ICommandOutputEventArg::Type property determines if the output is from the command or is message text from an HPC or system error.

Error codes

If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.

Examples

For an example, see Implementing the Event Handlers for Command Events in C++.

Requirements

Product

HPC Pack 2008 R2 Client Utilities, HPC Pack 2008 Client Utilities

Type library

Microsoft.Hpc.Scheduler.tlb

See also

ICommandOutputEventArg