Fixed the number formatting in the SSPIException so that the error code comes out '0x....'.
This commit is contained in:
@@ -71,7 +71,7 @@ namespace NSspi
|
|||||||
get
|
get
|
||||||
{
|
{
|
||||||
return string.Format(
|
return string.Format(
|
||||||
"{0}. Error Code = '{1:X}' - \"{2}\".",
|
"{0}. Error Code = '0x{1:X}' - \"{2}\".",
|
||||||
this.message,
|
this.message,
|
||||||
this.errorCode,
|
this.errorCode,
|
||||||
EnumMgr.ToText(this.errorCode)
|
EnumMgr.ToText(this.errorCode)
|
||||||
|
|||||||
Reference in New Issue
Block a user