Why does terminating a suspended (not resumable) service instance return Failed, yet it is terminated

南笙酒味 提交于 2019-12-14 04:18:55

问题


Why does terminating a suspended (not resumable) service instance report failed, yet it is terminated?

Using the Microsoft.BizTalk.Operations BizTalkOperations.TerminateInstance() on a "Suspended (resumable)" and a "Suspended (not resumable)" instance (a routing failure report)

Checking the return Microsoft.BizTalk.Operations.CompletionStatus, the suspended is "Succeeded", but the suspended not resumable returns "Failed"

Yet when I check in the BizTalk Admin and/or BizTalkOperations.GetServiceInstances(), both instances have gone!

So what is happening here?


回答1:


Non Resumable instance typically is associated with its resumable instance. You must have terminated the suspended (resumable) prior to its corresponding suspended (non resumable) instance as a result you get a failure on non resumable because it got terminated as part of resumable instance. This is same behavior as you see in Admin Console.



来源:https://stackoverflow.com/questions/26674525/why-does-terminating-a-suspended-not-resumable-service-instance-return-failed

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!