protected override void OnLeave(IConversation conversation) { if (conversation.ActualEnters == 1){ if (conversation.iscanbecommited()){ conversation.cancelcanbecommited(); Commit(conversation); } if (conversation.isneedcleanonleave()){ Rollback(conversation); } } }