ModelTranslatorException 建構函式 (String, Exception)
使用提供的內部例外狀況,初始化 ModelTranslatorException 類別的新執行個體。
命名空間: Microsoft.Data.Schema.SchemaModel.Translation
組件: Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)
語法
'宣告
Public Sub New ( _
message As String, _
innerException As Exception _
)
public ModelTranslatorException(
string message,
Exception innerException
)
public:
ModelTranslatorException(
String^ message,
Exception^ innerException
)
new :
message:string *
innerException:Exception -> ModelTranslatorException
public function ModelTranslatorException(
message : String,
innerException : Exception
)
參數
- message
型別:System.String
錯誤訊息。
- innerException
型別:System.Exception
造成目前例外狀況的例外狀況執行個體。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。