public override bool OnError(runtime.DtsObject source, int errorCode, string subComponent, string description, string helpFile, int helpContext, string idofInterfaceWithError) { // Add application-specific diagnostics here. Console.WriteLine("Error in {0}/{1} : {2}", source, subComponent, description); return(false); }
public override bool OnError( DTS.DtsObject source, int errorCode, string subComponent, string description, string helpFile, int helpContext, string idofInterfaceWithError) { // Add application-specific diagnostics here. MessageEngine.Trace(Severity.Debug, "Validation Error in {0}/{1} : {2} : {3}", source, subComponent, description, helpFile); _validationErrorCount++; return(false); }