Amazon.MobileAnalytics.MobileAnalyticsManager.MobileAnalyticsErrorEventArgs.MobileAnalyticsErrorEventArgs C# (CSharp) Method

MobileAnalyticsErrorEventArgs() private method

The constructor of MobileAnalyticsErrorEventArgs
private MobileAnalyticsErrorEventArgs ( string className, string errorMessage, Exception exception, List undeliveredEvents ) : System
className string The class name where the error is caught.
errorMessage string The message that describes reason of the error.
exception System.Exception The exception thrown in Mobile Analytics Manager.
undeliveredEvents List The list of events that caused the error. This is a list of low level event objects. This list might be empty if the error is not caused by mal-formatted events.
return System
        internal MobileAnalyticsErrorEventArgs(string className, string errorMessage, Exception exception, List<Amazon.MobileAnalytics.Model.Event> undeliveredEvents)
        {
            if (null == className)
                throw new ArgumentNullException("className");
            if (null == errorMessage)
                throw new ArgumentNullException("errorMessage");
            if (null == exception)
                throw new ArgumentNullException("exception");
            if (null == undeliveredEvents)
                throw new ArgumentNullException("undeliveredEvents");

            this.ClassName = className;
            this.ErrorMessage = errorMessage;
            this.Exception = exception;
            this.UndeliveredEvents = undeliveredEvents;
        }
MobileAnalyticsErrorEventArgs