InformationRecord Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines a data structure used to represent informational context destined for the host or user.
public ref class InformationRecord
public class InformationRecord
[System.Runtime.Serialization.DataContract]
public class InformationRecord
type InformationRecord = class
[<System.Runtime.Serialization.DataContract>]
type InformationRecord = class
Public Class InformationRecord
- Inheritance
-
InformationRecord
- Derived
- Attributes
Remarks
InformationRecords are passed to WriteInformation(Object, String[]), which, according to host or user preference, forwards that information on to the host for rendering to the user.
Constructors
InformationRecord(Object, String) |
Initializes a new instance of the InformationRecord class. |
Properties
Computer |
The computer that generated this informational record. |
ManagedThreadId |
The managed thread that generated this informational record. |
MessageData |
The message data for this informational record. |
NativeThreadId |
The native thread that generated this informational record. |
ProcessId |
The process that generated this informational record. |
Source |
The source of this informational record (script path, function name, etc.) |
Tags |
The tags associated with this informational record (if any) |
TimeGenerated |
The time this informational record was generated. |
User |
The user that generated this informational record. |
Methods
ToString() |
Converts an InformationRecord to a string-based representation. |