共用方式為


DataTask.WriteError 方法

輸出指定的錯誤。

命名空間:  Microsoft.Data.Schema.Tasks
組件:  Microsoft.Data.Schema.Tasks (在 Microsoft.Data.Schema.Tasks.dll 中)

語法

'宣告
Protected Friend Sub WriteError ( _
    subCategory As String, _
    error As DataSchemaError, _
    treatWarningsAsError As Boolean _
)
protected internal void WriteError(
    string subCategory,
    DataSchemaError error,
    bool treatWarningsAsError
)
protected public:
void WriteError(
    String^ subCategory, 
    DataSchemaError^ error, 
    bool treatWarningsAsError
)
member WriteError : 
        subCategory:string * 
        error:DataSchemaError * 
        treatWarningsAsError:bool -> unit 
 function WriteError(
    subCategory : String, 
    error : DataSchemaError, 
    treatWarningsAsError : boolean
)

參數

.NET Framework 安全性

請參閱

參考

DataTask 類別

Microsoft.Data.Schema.Tasks 命名空間