Inheritance: CorProcessEventArgs
Ejemplo n.º 1
0
 /// <summary>
 /// Event handler for when a AppDomain of the process exits
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">An EventArgs that contains no event data.</param>
 private void ExitAppDomainEventHandler(object sender, CorAppDomainEventArgs e)
 {
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Event Handler for the creation of the Debugee's appdomains
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">An EventArgs that contains no event data.</param>
 private void CreateAppDomainEventHandler(object sender, CorAppDomainEventArgs e)
 {
     //Console.WriteLine("OnCreateAppDomain");
     e.AppDomain.Attach();
     e.Continue = true;
 }
Ejemplo n.º 3
0
		void OnCreateAppDomain (object sender, CorAppDomainEventArgs e)
		{
            e.AppDomain.Attach();
			e.Continue = true;
		}
Ejemplo n.º 4
0
 void process_OnCreateAppDomain(object sender, CorAppDomainEventArgs e)
 {
     e.AppDomain.Attach();
 }
Ejemplo n.º 5
0
 private void OnNewAppDomain(object sender, CorAppDomainEventArgs e)
 {
     subscriber.Published(string.Format("Attaching to appDomain [{0}]...", e));
     e.AppDomain.Attach();
 }
Ejemplo n.º 6
0
        private void ExitAppDomainEventHandler(Object sender, CorAppDomainEventArgs e)
        {
            Trace.WriteLine("ManagedCallback::ExitAppDomain");
            BeginManagedDebugEvent();
            try
            {
                if (InternalHandleRawMode(ManagedCallbackType.OnAppDomainExit, e))
                    return;

                AppDomains.Unregister(e.AppDomain);

                if (HandleCustomPostCallback(ManagedCallbackType.OnAppDomainExit, e))
                    return;
            }
            finally
            {
                EndManagedDebugEvent(e);
            }
        }