private void UnregisterReceiveNotification(ActivityContext context)
        {
            var      subscriptionHandle = this.SubscriptionHandle.Get(context);
            Bookmark bookmark           = this.receiveCompleteBookmark.Get(context);

            if (bookmark != null)
            {
                if (subscriptionHandle != null)
                {
                    context.GetExtension <Hosting.FolderWatcherExtension>()
                    .UnregisterReceiveNotification(bookmark, subscriptionHandle.Id);
                }
            }
            if (context is NativeActivityContext)
            {
                NativeActivityContext ctx = context as NativeActivityContext;
                if (bookmark != null)
                {
                    ctx.RemoveBookmark(bookmark);
                }
                this.noPersistHandle.Get(ctx).Exit(ctx);
            }
            else if (context is NativeActivityFaultContext)
            {
                NativeActivityFaultContext ctx = context as NativeActivityFaultContext;
                if (bookmark != null)
                {
                    ctx.RemoveBookmark(bookmark);
                }
                this.noPersistHandle.Get(ctx).Exit(ctx);
            }
        }