共用方式為


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
    類型:String

    描述錯誤的訊息。

備註

message 參數的內容應能夠讓使用者瞭解。 這個建構函式的呼叫端必須確保這個字串已經為目前系統的文化特性當地語系化。

這個建構函式在 DDEX Runtime 通常只會呼叫。

.NET Framework 安全性

請參閱

參考

DataProviderException 類別

DataProviderException 多載

Microsoft.VisualStudio.Data.Core 命名空間