Beispiel #1
0
 public async Task CreateExportJobErrorRecordAsync(Int32 workspaceArtifactID, Int32 jobArtifactID, String objectType, String status, String details)
 {
     try
     {
         await ArtifactQueries.CreateJobErrorRecordAsync(
             rsapiApiOptions : RsapiApiOptions,
             workspaceArtifactId : workspaceArtifactID,
             rdoRepository : RsapiRepositoryGroup.RdoRepository,
             rdoGuid : Constant.Guids.ObjectType.ExportUtilityJobErrors,
             jobArtifactId : jobArtifactID,
             jobType : objectType,
             statusFieldValue : status,
             detailsFieldValue : details);
     }
     catch (Exception ex)
     {
         throw new AdminMigrationUtilityException(Constant.ErrorMessages.CreateExportJobErrorRecordError, ex);
     }
 }