Partilhar via


RestartComputerTimeoutException Class

Definition

This exception is thrown when the timeout expires before a computer finishes restarting

public ref class RestartComputerTimeoutException sealed : System::Management::Automation::RuntimeException
[System.Serializable]
public sealed class RestartComputerTimeoutException : System.Management.Automation.RuntimeException
public sealed class RestartComputerTimeoutException : System.Management.Automation.RuntimeException
[<System.Serializable>]
type RestartComputerTimeoutException = class
    inherit RuntimeException
type RestartComputerTimeoutException = class
    inherit RuntimeException
Public NotInheritable Class RestartComputerTimeoutException
Inherits RuntimeException
Inheritance
RestartComputerTimeoutException
Attributes

Constructors

RestartComputerTimeoutException()

Construct a RestartComputerTimeoutException

RestartComputerTimeoutException(String, Exception)

Constructs a RestartComputerTimeoutException

RestartComputerTimeoutException(String)

Constructs a RestartComputerTimeoutException

Properties

ComputerName

Name of the computer that is restarting

ErrorRecord

Additional information about the error.

(Inherited from RuntimeException)
Timeout

The timeout value specified by the user. It indicates the seconds to wait before timeout.

WasThrownFromThrowStatement (Inherited from RuntimeException)

Methods

GetObjectData(SerializationInfo, StreamingContext)

Serializes the RestartComputerTimeoutException.

GetObjectData(SerializationInfo, StreamingContext)

Serializer for ISerializable

(Inherited from RuntimeException)

Applies to