예제 #1
0
        /// <summary>
        /// retrieve all zombie message for one biztalk orchestration service instance
        /// </summary>
        /// <param name="serviceInstanceId"></param>
        public void GetZombieMessage(Guid serviceInstanceId)
        {
            _ListZombieMessage = WmiAccess.GetZombieMessage(serviceInstanceId);

            for (int i = 0; i < _ListZombieMessage.Count; i++)
            {
                //check if the message type is not a system message type
                if (BTArtifactLogic.IsSystemSchema(_ListZombieMessage[i].MessageType))
                {
                    //if not so add to the list
                    _ListZombieMessage.RemoveAt(i);
                    i--;
                }
            }
            MessageFound = _ListZombieMessage.Count == 0?false:true;
        }
예제 #2
0
 public static void TerminateOrchestration(Guid serviceInstanceId)
 {
     WmiAccess.TerminateOrchestration(serviceInstanceId);
 }