public static Warning ( Tiff tif, string method, string format ) : void | ||
tif | Tiff | An instance of the |
method | string | The method in which a warning is detected. |
format | string | A composite format string (see Remarks). |
return | void |
public static void Warning(Tiff tif, string method, string format, params object[] args)
{
TiffErrorHandler errorHandler = getErrorHandler(tif);
if (errorHandler == null)
return;
errorHandler.WarningHandler(tif, method, format, args);
errorHandler.WarningHandlerExt(tif, null, method, format, args);
}
Tiff::Warning ( string method, string format ) : void |
private bool writeOK(byte[] buffer, int offset, int count) { try { m_stream.Write(m_clientdata, buffer, offset, count); } catch (Exception) { Tiff.Warning(this, "writeOK", "Failed to write {0} bytes", count); return(false); } return(true); }