public BookmarkResumptionRecord(Guid instanceId, long recordNumber, Guid bookmarkScope, string bookmarkName, ActivityInfo owner)
     : base(instanceId, recordNumber)
 {
     this.BookmarkScope = bookmarkScope;
     this.BookmarkName  = bookmarkName;
     this.Owner         = owner ?? throw FxTrace.Exception.ArgumentNull(nameof(owner));
 }
Example #2
0
 public WorkflowInstanceUnhandledExceptionRecord(Guid instanceId, long recordNumber, string activityDefinitionId, ActivityInfo faultSource, Exception exception, WorkflowIdentity workflowDefinitionIdentity)
     : this(instanceId, recordNumber, activityDefinitionId, faultSource, exception)
 {
     this.WorkflowDefinitionIdentity = workflowDefinitionIdentity;
 }
Example #3
0
 public WorkflowInstanceUnhandledExceptionRecord(Guid instanceId, string activityDefinitionId, ActivityInfo faultSource, Exception exception)
     : this(instanceId, 0, activityDefinitionId, faultSource, exception)
 {
 }
Example #4
0
 public WorkflowInstanceUnhandledExceptionRecord(Guid instanceId, long recordNumber, string activityDefinitionId, ActivityInfo faultSource, Exception exception)
     : base(instanceId, recordNumber, activityDefinitionId, WorkflowInstanceStates.UnhandledException)
 {
     if (string.IsNullOrEmpty(activityDefinitionId))
     {
         throw CoreWf.Internals.FxTrace.Exception.ArgumentNullOrEmpty("activityDefinitionId");
     }
     if (exception == null)
     {
         throw CoreWf.Internals.FxTrace.Exception.ArgumentNull("exception");
     }
     if (faultSource == null)
     {
         throw CoreWf.Internals.FxTrace.Exception.ArgumentNull("faultSource");
     }
     this.FaultSource        = faultSource;
     this.UnhandledException = exception;
     this.Level = EventLevel.Error;
 }
Example #5
0
        public BookmarkResumptionRecord(Guid instanceId, long recordNumber, Guid bookmarkScope, string bookmarkName, ActivityInfo owner)
            : base(instanceId, recordNumber)
        {
            if (owner == null)
            {
                throw CoreWf.Internals.FxTrace.Exception.ArgumentNull("owner");
            }

            this.BookmarkScope = bookmarkScope;
            this.BookmarkName  = bookmarkName;
            this.Owner         = owner;
        }