DataProviderException 类

定义

表示当数据提供程序出现意外问题(例如缺少注册)时发生的异常。

public ref class DataProviderException abstract : Exception
[System.Serializable]
public abstract class DataProviderException : Exception
[<System.Serializable>]
type DataProviderException = class
    inherit Exception
Public MustInherit Class DataProviderException
Inherits Exception
继承
DataProviderException
属性

构造函数

DataProviderException()

初始化 DataProviderException 类的新实例。

DataProviderException(SerializationInfo, StreamingContext)

用序列化数据初始化 DataProviderException 类的新实例。

DataProviderException(String)

初始化 DataProviderException 类的新实例,指定错误消息。

DataProviderException(String, Exception)

初始化 类的新实例 DataProviderException ,指定错误消息和对导致此异常的内部异常的引用。

适用于