NativeCommandExitException 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.
This exception is used by the NativeCommandProcessor to indicate an error when a native command returns a non-zero exit code.
[System.Serializable]
public sealed class NativeCommandExitException : System.Management.Automation.RuntimeException
[System.Runtime.CompilerServices.Nullable(0)]
[System.Runtime.CompilerServices.NullableContext(2)]
public sealed class NativeCommandExitException : System.Management.Automation.RuntimeException
[<System.Serializable>]
type NativeCommandExitException = class
inherit RuntimeException
[<System.Runtime.CompilerServices.Nullable(0)>]
[<System.Runtime.CompilerServices.NullableContext(2)>]
type NativeCommandExitException = class
inherit RuntimeException
Public NotInheritable Class NativeCommandExitException
Inherits RuntimeException
- Inheritance
- Attributes
Properties
ErrorRecord |
Additional information about the error. (Inherited from RuntimeException) |
ExitCode |
Gets the exit code returned by the native command. |
Path |
Gets the path of the native command. |
ProcessId |
Gets the native command's process ID. |
WasThrownFromThrowStatement | (Inherited from RuntimeException) |
Methods
GetObjectData(SerializationInfo, StreamingContext) |
Serializes the exception data. |
GetObjectData(SerializationInfo, StreamingContext) |
Serializer for ISerializable (Inherited from RuntimeException) |