Table of Contents

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

message string

The 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

message string

The error message that explains the reason for the exception.

innerException Exception

The 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

string

WmiClassName

Gets or initializes the WMI class name that was being queried when the provider failed.

public string? WmiClassName { get; init; }

Property Value

string