Exemplo n.º 1
0
        internal override void InternalAbort(ActivityInstance instance, ActivityExecutor executor, Exception terminationReason)
        {
            NativeActivityAbortContext context = new NativeActivityAbortContext(instance, executor, terminationReason);

            try
            {
                Abort(context);
            }
            finally
            {
                context.Dispose();
            }
        }
Exemplo n.º 2
0
 protected virtual void Abort(NativeActivityAbortContext context)
 {
 }