Export (0) Print
Expand All

VerboseRecord Class

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


Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)

'Usage
Dim instance As VerboseRecord

[DataContractAttribute] 
public class VerboseRecord : InformationalRecord
/** @attribute DataContractAttribute() */ 
public class VerboseRecord extends InformationalRecord
DataContractAttribute 
public class VerboseRecord extends InformationalRecord

When a command sends a message to the verbose stream, the Windows PowerShell runtime creates the verbose record that includes the original message plus information such as the name of the command, the string used to run the command, and the location of the command in the pipeline.

Verbose messages are sent when a cmdlet calls the System.Management.Autoation.Cmdlet.WriteVerbose(System.String) method, or a provider calls the CmdletProvider.WriteVerbose method.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Target Platforms

Windows Developer Preview, Windows Server Developer Preview

Reference

VerboseRecord Members
System.Management.Automation Namespace
System.Management.Autoation.Cmdlet.WriteVerbose(System.String)
CmdletProvider.WriteVerbose

Other Resources

Windows PowerShell SDK

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