ProviderNameAmbiguousException 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.
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
-
ProviderNameAmbiguousException
- Attributes
Constructors
ProviderNameAmbiguousException() |
Constructs a ProviderNameAmbiguousException. |
ProviderNameAmbiguousException(SerializationInfo, StreamingContext) |
Obsolete.
Constructs a ProviderNameAmbiguousException using serialized data. |
ProviderNameAmbiguousException(String) |
Constructs a ProviderNameAmbiguousException. |
ProviderNameAmbiguousException(String, Exception) |
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) |