/// <summary> /// Initializes a new instance of the ProcessingExceptionDto class. /// </summary> /// <param name="reason">The reason the processing failed.</param> /// <param name="details">Stores additional details about the /// exception.</param> /// <param name="type">The processing exception type, if any. Possible /// values include: 'ApplicationException', 'BusinessException'</param> /// <param name="associatedImageFilePath">A path on the robot running /// computer to an image file that stores relevant information about /// the exception - e.g. a system print screen.</param> /// <param name="creationTime">Time when the exception occurred</param> public ProcessingExceptionDto(string reason = default(string), string details = default(string), ProcessingExceptionDtoType?type = default(ProcessingExceptionDtoType?), string associatedImageFilePath = default(string), System.DateTime?creationTime = default(System.DateTime?)) { Reason = reason; Details = details; Type = type; AssociatedImageFilePath = associatedImageFilePath; CreationTime = creationTime; CustomInit(); }
internal static string ToSerializedValue(this ProcessingExceptionDtoType?value) { return(value == null ? null : ((ProcessingExceptionDtoType)value).ToSerializedValue()); }