Amazon.Runtime.Internal.Util.MetricError.MetricError C# (CSharp) Метод

MetricError() публичный Метод

public MetricError ( Metric metric, Exception exception, string messageFormat ) : System
metric Metric
exception System.Exception
messageFormat string
Результат System
        public MetricError(Metric metric, Exception exception, string messageFormat, params object[] args)
        {
            Time = DateTime.Now;
            try
            {
                Message = string.Format(CultureInfo.InvariantCulture, messageFormat, args);
            }
            catch
            {
                Message = string.Format(CultureInfo.InvariantCulture, "Error message: {0}", messageFormat);
            }
            Exception = exception;
            Metric = metric;
        }
    }

Same methods

MetricError::MetricError ( Metric metric, string messageFormat ) : System
MetricError