Microsoft.Vsa.VsaException.ToString C# (CSharp) Method

ToString() public method

public ToString ( ) : String
return String
        public override String ToString()
        {
            if ((null != this.Message) && ("" != this.Message))
                return "Microsoft.Vsa.VsaException: " + System.Enum.GetName(((VsaError)HResult).GetType(), (VsaError)HResult) + " (0x" + String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0,8:X}", HResult) + "): " + Message;    
            else
                return "Microsoft.Vsa.VsaException: " + System.Enum.GetName(((VsaError)HResult).GetType(), (VsaError)HResult) + " (0x" + String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0,8:X}", HResult) + ").";    
        }