- code
- A PrinterDriverExceptionCode value to get the string message for.
| Visual Basic (Declaration) | |
|---|---|
Public Shared Function GetCodeMessage( _ ByVal code As PrinterDriverExceptionCode _ ) As String | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public static string GetCodeMessage( PrinterDriverExceptionCode code ) | |
| C++/CLI | |
|---|---|
public: static String^ GetCodeMessage( PrinterDriverExceptionCode code ) | |
Parameters
- code
- A PrinterDriverExceptionCode value to get the string message for.
By default, PrinterDriverException has a string message for each PrinterDriverExceptionCode. Get this message by
calling this method. Additionally, any string message for any PrinterDriverExceptionCode can be changed by using the
SetCodeMessage method.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family
Copy Code