Partilhar via


ProviderNameAmbiguousException Class

Definition

ProviderNameAmbiguousException occurs when more than one provider exists for a given name and the request did not contain the PSSnapin name qualifier.

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

Constructors

ProviderNameAmbiguousException()

Constructs a ProviderNameAmbiguousException.

ProviderNameAmbiguousException(SerializationInfo, StreamingContext)
Obsolete.

Constructs a ProviderNameAmbiguousException using serialized data.

ProviderNameAmbiguousException(String, Exception)

Constructs a ProviderNameAmbiguousException.

ProviderNameAmbiguousException(String)

Constructs a ProviderNameAmbiguousException.

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)
PossibleMatches

Gets the information of the providers which might match the specified provider name.

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