DriveNotFoundException 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.
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.SessionStateExceptionpublic class DriveNotFoundException : System.Management.Automation.SessionStateException[<System.Serializable>]
type DriveNotFoundException = class
    inherit SessionStateExceptiontype DriveNotFoundException = class
    inherit SessionStateExceptionPublic 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) |