public static void SetCodeMessage(
PrinterDriverClientExceptionCode code,
string message
)
code
A PrinterDriverClientExceptionCode value to set the string message for.
message
A System.String that contains the new message for code.
By default, PrinterDriverClientException has a string message for each PrinterDriverClientExceptionCode. Get this message by using the GetCodeMessage method. Also, any string message for any PrinterDriverClientExceptionCode can be changed by using the SetCodeMessage method.