다음을 통해 공유


WarningRecord Class

Definition

A warning record in the PSInformationalBuffers.

public ref class WarningRecord : System::Management::Automation::InformationalRecord
public class WarningRecord : System.Management.Automation.InformationalRecord
[System.Runtime.Serialization.DataContract]
public class WarningRecord : System.Management.Automation.InformationalRecord
type WarningRecord = class
    inherit InformationalRecord
[<System.Runtime.Serialization.DataContract>]
type WarningRecord = class
    inherit InformationalRecord
Public Class WarningRecord
Inherits InformationalRecord
Inheritance
WarningRecord
Derived
Attributes

Constructors

WarningRecord(PSObject)
WarningRecord(String, PSObject)

Constructor for Fully qualified warning Id.

WarningRecord(String, String)

Constructor for Fully qualified warning Id.

WarningRecord(String)

Properties

FullyQualifiedWarningId

String which uniquely identifies this warning condition.

InvocationInfo

The InvocationInfo of the command that created this record.

(Inherited from InformationalRecord)
Message

The message written by the command that created this record.

(Inherited from InformationalRecord)
PipelineIterationInfo

The status of the pipeline when this record was created.

(Inherited from InformationalRecord)

Methods

ToString()

Returns the record's message.

(Inherited from InformationalRecord)

Applies to