Compartilhar via


ProviderNotFoundException Class

Definition

ProviderNotFoundException occurs when no provider can be found with the specified name.

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

Constructors

ProviderNotFoundException()

Constructs a ProviderNotFoundException.

ProviderNotFoundException(SerializationInfo, StreamingContext)

Constructs a ProviderNotFoundException using serialized data.

ProviderNotFoundException(String, Exception)

Constructs a ProviderNotFoundException.

ProviderNotFoundException(String)

Constructs a ProviderNotFoundException.

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