工作流服务主机抛出以下类型的 RedirectionException 的根本原因究竟是什么:
System.ServiceModel.Channels.RedirectionException:请求的资源已移动到以下位置之一: http://blah.mydomain.com/MyWorkflowService.svc 在 System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult 结果) 在 System.ServiceModel.Activities.Dispatcher.ControlOperationInvoker.InvokeEnd(对象实例,对象 []& 输出,IAsyncResult 结果) 在 System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeEnd(MessageRpc& rpc) 在 System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage7(MessageRpc& rpc) 在 System.ServiceModel.Dispatcher.MessageRpc.Process(布尔 isOperationContextSet)
就 WCF 而言,文档RedirectionException
是通用的,我知道它的用途,但我不确定是什么条件触发了工作流服务主机本身抛出它,而且似乎没有任何文档。