C# 클래스 BitMiracle.LibTiff.Classic.TiffErrorHandler

Default error handler implementation.

TiffErrorHandler provides error and warning handling methods that write an error or a warning messages to the Console.Error.

Applications that desire to capture control in the event of an error or a warning should set their custom error and warning handler using Tiff.SetErrorHandler method.

파일 보기 프로젝트 열기: Core-Techs/TiffLibrary 1 사용 예제들

공개 메소드들

메소드 설명
ErrorHandler ( Tiff tif, string method, string format ) : void

Handles an error by writing it text to the Console.Error.

The format is a composite format string that uses the same format as O:System.String.Format method. The method parameter, if not null, is printed before the message; it typically is used to identify the method in which an error is detected.

ErrorHandlerExt ( Tiff tif, object clientData, string method, string format ) : void

Handles an error by writing it text to the Console.Error.

The format is a composite format string that uses the same format as O:System.String.Format method. The method parameter, if not null, is printed before the message; it typically is used to identify the method in which an error is detected.

The clientData parameter can be anything. Its value and meaning is defined by an application and not the library.

WarningHandler ( Tiff tif, string method, string format ) : void

Handles a warning by writing it text to the Console.Error.

The format is a composite format string that uses the same format as O:System.String.Format method. The method parameter, if not null, is printed before the message; it typically is used to identify the method in which a warning is detected.

WarningHandlerExt ( Tiff tif, object clientData, string method, string format ) : void

Handles a warning by writing it text to the Console.Error.

The format is a composite format string that uses the same format as O:System.String.Format method. The method parameter, if not null, is printed before the message; it typically is used to identify the method in which a warning is detected.

The clientData parameter can be anything. Its value and meaning is defined by an application and not the library.

메소드 상세

ErrorHandler() 공개 메소드

Handles an error by writing it text to the Console.Error.
The format is a composite format string that uses the same format as O:System.String.Format method. The method parameter, if not null, is printed before the message; it typically is used to identify the method in which an error is detected.
public ErrorHandler ( Tiff tif, string method, string format ) : void
tif Tiff An instance of the class. Can be null.
method string The method where an error is detected.
format string A composite format string (see Remarks).
리턴 void

ErrorHandlerExt() 공개 메소드

Handles an error by writing it text to the Console.Error.

The format is a composite format string that uses the same format as O:System.String.Format method. The method parameter, if not null, is printed before the message; it typically is used to identify the method in which an error is detected.

The clientData parameter can be anything. Its value and meaning is defined by an application and not the library.

public ErrorHandlerExt ( Tiff tif, object clientData, string method, string format ) : void
tif Tiff An instance of the class. Can be null.
clientData object A client data.
method string The method where an error is detected.
format string A composite format string (see Remarks).
리턴 void

WarningHandler() 공개 메소드

Handles a warning by writing it text to the Console.Error.
The format is a composite format string that uses the same format as O:System.String.Format method. The method parameter, if not null, is printed before the message; it typically is used to identify the method in which a warning is detected.
public WarningHandler ( Tiff tif, string method, string format ) : void
tif Tiff An instance of the class. Can be null.
method string The method where a warning is detected.
format string A composite format string (see Remarks).
리턴 void

WarningHandlerExt() 공개 메소드

Handles a warning by writing it text to the Console.Error.

The format is a composite format string that uses the same format as O:System.String.Format method. The method parameter, if not null, is printed before the message; it typically is used to identify the method in which a warning is detected.

The clientData parameter can be anything. Its value and meaning is defined by an application and not the library.

public WarningHandlerExt ( Tiff tif, object clientData, string method, string format ) : void
tif Tiff An instance of the class. Can be null.
clientData object A client data.
method string The method where a warning is detected.
format string A composite format string (see Remarks).
리턴 void