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
)
参数
- subCategory
类型:System.String
- treatWarningsAsError
类型:System.Boolean
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。