OriginInfo Class
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.
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
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
Origin |
Public constructor. |
Origin |
Public constructor. |
InstanceID |
Error record source instance ID. |
PSComputer |
The HostEntry information for the machine on which this information originated. |
RunspaceID |
Runspace instance ID. |
To |
Overridden ToString() method. |
Producto | Versiones |
---|---|
PowerShell SDK | 7.2.0, 7.3.0, 7.4.0 |
Windows PowerShell | 5.1.0.0 |