ItemNotFoundException ItemNotFoundException ItemNotFoundException 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
public class ItemNotFoundException : System.Management.Automation.SessionStateException
type ItemNotFoundException = class
    inherit SessionStateException
Public Class ItemNotFoundException
Inherits SessionStateException
Inheritance

Constructors

ItemNotFoundException() ItemNotFoundException() ItemNotFoundException() ItemNotFoundException()

Constructs a ItemNotFoundException

ItemNotFoundException(SerializationInfo, StreamingContext) ItemNotFoundException(SerializationInfo, StreamingContext) ItemNotFoundException(SerializationInfo, StreamingContext) ItemNotFoundException(SerializationInfo, StreamingContext)

Constructs a ItemNotFoundException using serialized data.

ItemNotFoundException(String) ItemNotFoundException(String) ItemNotFoundException(String) ItemNotFoundException(String)

Constructs a ItemNotFoundException

ItemNotFoundException(String, Exception) ItemNotFoundException(String, Exception) ItemNotFoundException(String, Exception) ItemNotFoundException(String, Exception)

Constructs a ItemNotFoundException

Properties

ErrorRecord ErrorRecord ErrorRecord ErrorRecord

Gets the error record information for this exception.

(Inherited from SessionStateException)
ItemName ItemName ItemName ItemName

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

(Inherited from SessionStateException)
SessionStateCategory SessionStateCategory SessionStateCategory SessionStateCategory

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

(Inherited from SessionStateException)
StackTrace StackTrace StackTrace StackTrace

Same as Object

(Inherited from RuntimeException)
WasThrownFromThrowStatement WasThrownFromThrowStatement WasThrownFromThrowStatement WasThrownFromThrowStatement Inherited from RuntimeException

Methods

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

Serializes the exception data.

(Inherited from SessionStateException)

Applies to