Compartilhar via


HostInformationMessage Class

Definition

Class that holds informational messages to represent output created by the Write-Host cmdlet.

public ref class HostInformationMessage
public class HostInformationMessage
type HostInformationMessage = class
Public Class HostInformationMessage
Inheritance
HostInformationMessage

Constructors

HostInformationMessage()

Properties

BackgroundColor

The background color of the message.

ForegroundColor

The foreground color of the message.

Message

The message being output by the host.

NoNewLine

'True' if the host should not append a NewLine to the message output.

Methods

ToString()

Returns a string-based representation of the host information message.

Applies to