ItemNotFoundException 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.
ItemNotFoundException occurs when the path contained no wildcard characters and an item at that path could not be found.
public ref class ItemNotFoundException : System::Management::Automation::SessionStateException
[System.Serializable]
public class ItemNotFoundException : System.Management.Automation.SessionStateException
public class ItemNotFoundException : System.Management.Automation.SessionStateException
[<System.Serializable>]
type ItemNotFoundException = class
inherit SessionStateException
type ItemNotFoundException = class
inherit SessionStateException
Public Class ItemNotFoundException
Inherits SessionStateException
- Inheritance
- Attributes
Constructors
| ItemNotFoundException() |
Constructs a ItemNotFoundException. |
| ItemNotFoundException(SerializationInfo, StreamingContext) |
Obsolete.
Constructs a ItemNotFoundException using serialized data. |
| ItemNotFoundException(String, Exception) |
Constructs a ItemNotFoundException. |
| ItemNotFoundException(String) |
Constructs a ItemNotFoundException. |
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) |