Compartilhar via


OriginInfo Class

Definition

Contains OriginInfo for an error record.

public ref class OriginInfo
[System.Serializable]
public class OriginInfo
[System.Runtime.Serialization.DataContract]
public class OriginInfo
[System.Serializable]
[System.Runtime.Serialization.DataContract]
public class OriginInfo
public class OriginInfo
[<System.Serializable>]
type OriginInfo = class
[<System.Runtime.Serialization.DataContract>]
type OriginInfo = class
[<System.Serializable>]
[<System.Runtime.Serialization.DataContract>]
type OriginInfo = class
type OriginInfo = class
Public Class OriginInfo
Inheritance
OriginInfo
Attributes

Remarks

This class should only be used when defining origin information for error records. In case of output objects, the information should directly be added to the object as properties

Constructors

OriginInfo(String, Guid, Guid)

Public constructor.

OriginInfo(String, Guid)

Public constructor.

Properties

InstanceID

Error record source instance ID.

PSComputerName

The HostEntry information for the machine on which this information originated.

RunspaceID

Runspace instance ID.

Methods

ToString()

Overridden ToString() method.

Applies to