DataProviderException 构造函数 (String)

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

命名空间:  Microsoft.VisualStudio.Data.Core
程序集:  Microsoft.VisualStudio.Data.Core(在 Microsoft.VisualStudio.Data.Core.dll 中)

语法

声明
Protected Sub New ( _
    message As String _
)
protected DataProviderException(
    string message
)
protected:
DataProviderException(
    String^ message
)
new : 
        message:string -> DataProviderException
protected function DataProviderException(
    message : String
)

参数

备注

message 参数的内容应为用户所理解。此构造函数的调用方需要确保此字符串已针对当前系统区域性进行了本地化。

此构造函数在DDEX运行时通常只有调用。

.NET Framework 安全性

请参见

参考

DataProviderException 类

DataProviderException 重载

Microsoft.VisualStudio.Data.Core 命名空间