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)); }
public WorkflowInstanceUnhandledExceptionRecord(Guid instanceId, long recordNumber, string activityDefinitionId, ActivityInfo faultSource, Exception exception, WorkflowIdentity workflowDefinitionIdentity) : this(instanceId, recordNumber, activityDefinitionId, faultSource, exception) { this.WorkflowDefinitionIdentity = workflowDefinitionIdentity; }
public WorkflowInstanceUnhandledExceptionRecord(Guid instanceId, string activityDefinitionId, ActivityInfo faultSource, Exception exception) : this(instanceId, 0, activityDefinitionId, faultSource, exception) { }
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; }
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; }