System.AggregateException.AddChildException C# (CSharp) Method

AddChildException() private method

private AddChildException ( AggregateException childEx ) : void
childEx AggregateException
return void
        internal void AddChildException(AggregateException childEx)
        {
            if (innerExceptions == null)
                innerExceptions = new List<Exception> ();
            if (childEx == null)
                return;

            innerExceptions.Add (childEx);
        }