InformationRecord InformationRecord InformationRecord InformationRecord Class

Definition

Defines a data structure used to represent informational context destined for the host or user.

public ref class InformationRecord
[System.Runtime.Serialization.DataContract]
public class InformationRecord
type InformationRecord = class
Public Class InformationRecord
Inheritance
InformationRecordInformationRecordInformationRecordInformationRecord
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) InformationRecord(Object, String) InformationRecord(Object, String) InformationRecord(Object, String)

Initializes a new instance of the InformationRecord class.

Properties

Computer Computer Computer Computer

The computer that generated this informational record

ManagedThreadId ManagedThreadId ManagedThreadId ManagedThreadId

The managed thread that generated this informational record

MessageData MessageData MessageData MessageData

The message data for this informational record

NativeThreadId NativeThreadId NativeThreadId NativeThreadId

The native thread that generated this informational record

ProcessId ProcessId ProcessId ProcessId

The process that generated this informational record

Source Source Source Source

The source of this informational record (script path, function name, etc.)

Tags Tags Tags Tags

The tags assocaited with this informational record (if any)

TimeGenerated TimeGenerated TimeGenerated TimeGenerated

The time this informational record was generated.

User User User User

The user that generated this informational record

Methods

ToString() ToString() ToString() ToString()

Converts an InformationRecord to a string-based representation.

Applies to

See also