Delen via


DriveNotFoundException Class

Definition

DriveNotFoundException occurs when no drive can be found with the specified name.

public ref class DriveNotFoundException : System::Management::Automation::SessionStateException
[System.Serializable]
public class DriveNotFoundException : System.Management.Automation.SessionStateException
public class DriveNotFoundException : System.Management.Automation.SessionStateException
[<System.Serializable>]
type DriveNotFoundException = class
    inherit SessionStateException
type DriveNotFoundException = class
    inherit SessionStateException
Public Class DriveNotFoundException
Inherits SessionStateException
Inheritance
Attributes

Constructors

DriveNotFoundException()

Constructs a DriveNotFoundException.

DriveNotFoundException(SerializationInfo, StreamingContext)
Obsolete.

Constructs a DriveNotFoundException using serialized data.

DriveNotFoundException(String, Exception)

Constructs a DriveNotFoundException.

DriveNotFoundException(String)

Constructs a DriveNotFoundException.

Properties

ErrorRecord

Gets the error record information for this exception.

(Inherited from SessionStateException)
ItemName

Gets the name of session state object the error occurred on.

(Inherited from SessionStateException)
SessionStateCategory

Gets the category of session state object the error occurred on.

(Inherited from SessionStateException)
WasThrownFromThrowStatement (Inherited from RuntimeException)

Methods

GetObjectData(SerializationInfo, StreamingContext)

Serializes the exception data.

(Inherited from SessionStateException)

Applies to