Compartilhar via


ItemNotFoundException Class

Definition

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)

Applies to