RadioDld.ErrorReporting.ToString C# (CSharp) Method

ToString() public method

public ToString ( ) : string
return string
        public override string ToString()
        {
            string stringValue = string.Empty;

            try
            {
                foreach (KeyValuePair<string, string> reportField in this.fields)
                {
                    stringValue += reportField.Key + ": " + reportField.Value + "\r\n";
                }
            }
            catch
            {
                // No way of reporting errors that have happened here, so try to continue
            }

            return stringValue;
        }