RestartComputerTimeoutException RestartComputerTimeoutException RestartComputerTimeoutException 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
type RestartComputerTimeoutException = class
    inherit RuntimeException
Public NotInheritable Class RestartComputerTimeoutException
Inherits RuntimeException
Inheritance
RestartComputerTimeoutExceptionRestartComputerTimeoutExceptionRestartComputerTimeoutExceptionRestartComputerTimeoutException
Attributes

Constructors

RestartComputerTimeoutException() RestartComputerTimeoutException() RestartComputerTimeoutException() RestartComputerTimeoutException()

Construct a RestartComputerTimeoutException

RestartComputerTimeoutException(String) RestartComputerTimeoutException(String) RestartComputerTimeoutException(String) RestartComputerTimeoutException(String)

Constructs a RestartComputerTimeoutException

RestartComputerTimeoutException(String, Exception) RestartComputerTimeoutException(String, Exception) RestartComputerTimeoutException(String, Exception) RestartComputerTimeoutException(String, Exception)

Constructs a RestartComputerTimeoutException

Properties

ComputerName ComputerName ComputerName ComputerName

Name of the computer that is restarting

ErrorRecord ErrorRecord ErrorRecord ErrorRecord

Additional information about the error

(Inherited from RuntimeException)
Timeout Timeout Timeout Timeout

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

WasThrownFromThrowStatement WasThrownFromThrowStatement WasThrownFromThrowStatement WasThrownFromThrowStatement Inherited from RuntimeException

Methods

GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext)

Serializes the RestartComputerTimeoutException.

Applies to