DataTask.WriteError Method
Outputs the specified error.
Namespace: Microsoft.Data.Schema.Tasks
Assembly: Microsoft.Data.Schema.Tasks (in Microsoft.Data.Schema.Tasks.dll)
Syntax
'Declaration
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
)
Parameters
- subCategory
Type: System.String
- error
Type: Microsoft.Data.Schema.DataSchemaError
- treatWarningsAsError
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.