WarningRecord Members

Describes a warning message sent to the warning stream, plus information about the command that sent the message. This class is introduced in Windows PowerShell 2.0.

The following tables list the members exposed by the WarningRecord type.

  Name Description
  WarningRecord Overloaded. Initializes a new instance of the WarningRecord class.
Top

  Name Description
public property FullyQualifiedWarningId Gets a string that uniquely identifies this warning condition.
public property InvocationInfo  Gets information about the command that created the debug, verbose, or warning record. This property is introduced in Windows PowerShell 2.0. (Inherited from InformationalRecord)
public property Message  Gets the description of the command that created the record. This property is introduced in Windows PowerShell 2.0. (Inherited from InformationalRecord)
public property PipelineIterationInfo  Gets the state of the pipeline when the record was created by the command. This property is introduced in Windows PowerShell 2.0. (Inherited from InformationalRecord)
Top

(see also Protected Methods)
 NameDescription
public methodEquals  (Inherited from Object)
public methodGetHashCode  (Inherited from Object)
public methodGetType  (Inherited from Object)
public methodToString  Overridden. Converts the record information object to a string. This method is introduced in Windows PowerShell 2.0. (Inherited from Object)
Top

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)
Top

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft