/// <summary> /// Initializes a new instance of the DiagnosticsStackTrace class. /// </summary> public DiagnosticsStackTrace(string title = default(string), string reason = default(string), IList <DiagnosticsThread> threads = default(IList <DiagnosticsThread>), DiagnosticsException exception = default(DiagnosticsException)) { Title = title; Reason = reason; Threads = threads; Exception = exception; CustomInit(); }
/// <summary> /// Initializes a new instance of the DiagnosticsThread class. /// </summary> /// <param name="title">name of the thread</param> /// <param name="frames">frames of that thread</param> /// <param name="exception">potential additional exception happened in /// that thread (Last Exception Backtrace)</param> /// <param name="relevant">Shows if a thread is relevant or not. Is /// false if all frames are non relevant, otherwise true</param> /// <param name="platform">SDK/Platform this thread is beeing generated /// from. Possible values include: 'ios', 'android', 'xamarin', /// 'react-native', 'ndk', 'unity', 'other'</param> /// <param name="crashed">True if this thread crashed</param> public DiagnosticsThread(string title, IList <DiagnosticsStackFrame> frames, DiagnosticsException exception = default(DiagnosticsException), bool?relevant = default(bool?), string platform = default(string), bool?crashed = default(bool?)) { Title = title; Frames = frames; Exception = exception; Relevant = relevant; Platform = platform; Crashed = crashed; CustomInit(); }