Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RemotingErrorRecord Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Represents an error record that is used by remote runspaces to wrap local error records. This class is introduced in Windows PowerShell 2.0.

Namespace:   System.Management.Automation.Runspaces
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

System.Object
  System.Management.Automation.ErrorRecord
    System.Management.Automation.Runspaces.RemotingErrorRecord

[SerializableAttribute]
public class RemotingErrorRecord : ErrorRecord

NameDescription
System_CAPS_pubmethodRemotingErrorRecord(ErrorRecord, OriginInfo)

Initializes a new instance of the RemotingErrorRecord class that contains the remote error record and its origin. This constructor is introduced by Windows PowerShell 2.0.

System_CAPS_protmethodRemotingErrorRecord(SerializationInfo, StreamingContext)

Initializes a new instance of the RemotingErrorRecord class by specifying deserialization parameters. Introduced in Windows PowerShell 3.0.

NameDescription
System_CAPS_pubpropertyCategoryInfo

Gets information about the category of the error.(Inherited from ErrorRecord.)

System_CAPS_pubpropertyErrorDetails

Gets and sets more detailed error information, such as a replacement error message.(Inherited from ErrorRecord.)

System_CAPS_pubpropertyException

Gets the exception that is associated with this error record. (Inherited from ErrorRecord.)

System_CAPS_pubpropertyFullyQualifiedErrorId

Gets the fully qualified error identifier for this error record.(Inherited from ErrorRecord.)

System_CAPS_pubpropertyInvocationInfo

Gets information about the command that was invoked when the error occurred.(Inherited from ErrorRecord.)

System_CAPS_pubpropertyOriginInfo

Gets the origin of the wrapped error record. This property is introduced in Windows PowerShell 2.0.

System_CAPS_pubpropertyPipelineIterationInfo

Gets the status of the pipeline when this error record was created. This property is introduced in Windows PowerShell 2.0.(Inherited from ErrorRecord.)

System_CAPS_pubpropertyScriptStackTrace

Gets the script stack trace for the error. Introduced in Windows PowerShell 3.0.(Inherited from ErrorRecord.)

System_CAPS_pubpropertyTargetObject

Gets the object that was being processed when the error occurred.(Inherited from ErrorRecord.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetObjectData(SerializationInfo, StreamingContext)

Populates a serialization information object with the data needed to serialize the remoting error record. Introduced in Windows PowerShell 3.0.(Overrides ErrorRecord.GetObjectData(SerializationInfo, StreamingContext).)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

Retrieves a string representation of the current ErrorRecord object.(Inherited from ErrorRecord.)

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: