Class ComponentDataProviderException
- Namespace
- Tudormobile.IronLedgerLib
- Assembly
- Tudormobile.IronLedgerLib.dll
Exception thrown when a component data provider fails to retrieve data.
public class ComponentDataProviderException : ComponentDataException, ISerializable
- Inheritance
-
ComponentDataProviderException
- Implements
- Inherited Members
Constructors
ComponentDataProviderException()
Initializes a new instance of the ComponentDataProviderException class.
public ComponentDataProviderException()
ComponentDataProviderException(string)
Initializes a new instance of the ComponentDataProviderException class with a specified error message.
public ComponentDataProviderException(string message)
Parameters
messagestringThe message that describes the error.
ComponentDataProviderException(string, Exception)
Initializes a new instance of the ComponentDataProviderException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public ComponentDataProviderException(string message, Exception innerException)
Parameters
messagestringThe error message that explains the reason for the exception.
innerExceptionExceptionThe exception that is the cause of the current exception, or a null reference if no inner exception is specified.
Properties
ProviderName
Gets or initializes the name of the provider that failed.
public string? ProviderName { get; init; }
Property Value
WmiClassName
Gets or initializes the WMI class name that was being queried when the provider failed.
public string? WmiClassName { get; init; }