行 100: GoodsApplyArgs args = new GoodsApplyArgs(guid, applicate, user); 行 101: args.WaitForIdle = true; 行 102: OnLeaderAllow(null, args); 行 103: } 行 104: }
[QueueException: Queue 'Message Properties Interface Type:WorkFlow.IGoodsApply Method Name:OnLeaderAllow CorrelationValues: ' is not enabled.] System.Workflow.Runtime.WorkflowQueuingService.EnqueueEvent(IComparable queueName, Object item) +379 System.Workflow.Runtime.WorkflowExecutor.EnqueueItemOnIdle(IComparable queueName, Object item, IPendingWork pendingWork, Object workItem) +259 System.Workflow.Runtime.WorkflowInstance.EnqueueItemOnIdle(IComparable queueName, Object item, IPendingWork pendingWork, Object workItem) +182 System.Workflow.Activities.WorkflowMessageEventHandler.EventHandler(Object sender, ExternalDataEventArgs eventArgs) +488 [EventDeliveryFailedException: Event "OnLeaderAllow" on interface type "WorkFlow.IGoodsApply" for instance id "f22d1eea-0c49-4377-b32c-44cf9a0c00df" cannot be delivered.] System.Workflow.Activities.WorkflowMessageEventHandler.EventHandler(Object sender, ExternalDataEventArgs eventArgs) +745 WorkFlow.GoodsApply.RaiseLeaderAllow(Guid guid, ApplicationInfo applicate, UserInfo user) in D:\VSSDocument\goodsApplyFlow\WorkFlow\GoodsApply.cs:102 Web.Leader.submit_Click(Object sender, EventArgs e) in D:\VSSDocument\goodsApplyFlow\Web\Web\Leader.aspx.cs:88 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
if(OnLeaderAllow!= null) OnLeaderAllow(null, args);