Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the JobInnerError class.
 /// </summary>
 /// <param name="errorId">The specific identifier for the type of error
 /// encountered in the job.</param>
 /// <param name="severity">The severity level of the failure. Possible
 /// values include: 'Warning', 'Error', 'Info', 'SevereWarning',
 /// 'Deprecated', 'UserWarning'</param>
 /// <param name="source">The ultimate source of the failure (usually
 /// either SYSTEM or USER).</param>
 /// <param name="message">The user friendly error message for the
 /// failure.</param>
 /// <param name="description">The error message description.</param>
 /// <param name="details">The details of the error message.</param>
 /// <param name="diagnosticCode">The diagnostic error code.</param>
 /// <param name="component">The component that failed.</param>
 /// <param name="resolution">The recommended resolution for the
 /// failure, if any.</param>
 /// <param name="helpLink">The link to MSDN or Azure help for this type
 /// of error, if any.</param>
 /// <param name="internalDiagnostics">The internal diagnostic stack
 /// trace if the user requesting the job error details has sufficient
 /// permissions it will be retrieved, otherwise it will be
 /// empty.</param>
 /// <param name="innerError">The inner error of this specific job error
 /// message, if any.</param>
 public JobInnerError(string errorId = default(string), SeverityTypes?severity = default(SeverityTypes?), string source = default(string), string message = default(string), string description = default(string), string details = default(string), int?diagnosticCode = default(int?), string component = default(string), string resolution = default(string), string helpLink = default(string), string internalDiagnostics = default(string), JobInnerError innerError = default(JobInnerError))
 {
     ErrorId             = errorId;
     Severity            = severity;
     Source              = source;
     Message             = message;
     Description         = description;
     Details             = details;
     DiagnosticCode      = diagnosticCode;
     Component           = component;
     Resolution          = resolution;
     HelpLink            = helpLink;
     InternalDiagnostics = internalDiagnostics;
     InnerError          = innerError;
     CustomInit();
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the JobErrorDetails class.
 /// </summary>
 /// <param name="description">the error message description</param>
 /// <param name="details">the details of the error message.</param>
 /// <param name="endOffset">the end offset in the job where the error
 /// was found.</param>
 /// <param name="errorId">the specific identifier for the type of
 /// error encountered in the job.</param>
 /// <param name="filePath">the path to any supplemental error files,
 /// if any.</param>
 /// <param name="helpLink">the link to MSDN or Azure help for this
 /// type of error, if any.</param>
 /// <param name="internalDiagnostics">the internal diagnostic stack
 /// trace if the user requesting the job error details has sufficient
 /// permissions it will be retrieved, otherwise it will be
 /// empty.</param>
 /// <param name="lineNumber">the specific line number in the job where
 /// the error occured.</param>
 /// <param name="message">the user friendly error message for the
 /// failure.</param>
 /// <param name="resolution">the recommended resolution for the
 /// failure, if any.</param>
 /// <param name="innerError">the inner error of this specific job
 /// error message, if any.</param>
 /// <param name="severity">the severity level of the failure. Possible
 /// values include: 'Warning', 'Error', 'Info'</param>
 /// <param name="source">the ultimate source of the failure (usually
 /// either SYSTEM or USER).</param>
 /// <param name="startOffset">the start offset in the job where the
 /// error was found</param>
 public JobErrorDetails(string description = default(string), string details = default(string), int?endOffset = default(int?), string errorId = default(string), string filePath = default(string), string helpLink = default(string), string internalDiagnostics = default(string), int?lineNumber = default(int?), string message = default(string), string resolution = default(string), JobInnerError innerError = default(JobInnerError), SeverityTypes?severity = default(SeverityTypes?), string source = default(string), int?startOffset = default(int?))
 {
     Description         = description;
     Details             = details;
     EndOffset           = endOffset;
     ErrorId             = errorId;
     FilePath            = filePath;
     HelpLink            = helpLink;
     InternalDiagnostics = internalDiagnostics;
     LineNumber          = lineNumber;
     Message             = message;
     Resolution          = resolution;
     InnerError          = innerError;
     Severity            = severity;
     Source      = source;
     StartOffset = startOffset;
 }