LinePrinterException.MethodCategory Property

Returns the name of the method that raised the exception.

Syntax

[Visual Basic]
Public ReadOnly Property MethodCategory As MethodCategoryCode
[C#]
public LinePrinter.MethodCategoryCode MethodCategory {get;}

Values

The value returned will be one of the following LinePrinter.MethodCategoryCode elements that indicates the activity at the time the exception was thrown.

Value Description
Constructor Identifies the Constructor function.
Open Identifies function(s) that perform an open.
Close Identifies function(s) that perform a close.
Write Identifies function(s) that perform a write.
Administration Identifies function(s) that perform administrative functionality.

More Information

LinePrinterException Class