Mono.Debugger.Process.Stop C# (CSharp) Méthode

Stop() private méthode

private Stop ( ) : void
Résultat void
        internal void Stop()
        {
            main_thread.Invoke (delegate {
                current_state = ProcessState.Stopping;

                SuspendUserThreads (ThreadingModel.Process, null);
                current_state = ProcessState.Stopped;
                if (current_operation != null) {
                    current_operation.Completed ();
                    current_operation = null;
                }
                stopped_event.Set ();
                return null;
            }, null);
        }

Usage Example

Exemple #1
0
 void IOperationHost.Abort()
 {
     Process.Stop();
 }