DebugRecord Class
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Describes a debug message that was sent to the debug stream and 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)
System.Management.Automation Namespace
Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation)
When a command sends a message to the debug stream, the Windows PowerShell runtime creates the debug record that includes the message sent by the command and information such as the name of the command, the string used to run the command, and the location of the command in the pipeline.
Debug messages are sent when a cmdlet calls the Cmdlet.WriteDebug method, or when a provider calls a CmdletProvider.WriteDebug method when overriding a cmdlet.
System.Object
System.Management.Automation.InformationalRecord
System.Management.Automation.DebugRecord
System.Management.Automation.Runspaces.RemotingDebugRecord
System.Management.Automation.InformationalRecord
System.Management.Automation.DebugRecord
System.Management.Automation.Runspaces.RemotingDebugRecord
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 PreviewReference
DebugRecord MembersSystem.Management.Automation Namespace
Other Resources
Windows PowerShell SDKSend comments about this topic to Microsoft.