2 writes to controller
WsatUI (2)
Configuration\MsdtcWrapper.cs (2)
110controller = new System.ServiceProcess.ServiceController("MSDTC"); 115controller = null;
10 references to controller
WsatUI (10)
Configuration\MsdtcWrapper.cs (10)
205System.Diagnostics.Debug.Assert(controller != null, 207if (controller.Status != System.ServiceProcess.ServiceControllerStatus.Stopped) 209if (controller.Status != System.ServiceProcess.ServiceControllerStatus.StopPending) 211if (controller.CanStop) 213controller.Stop(); 221controller.WaitForStatus(System.ServiceProcess.ServiceControllerStatus.Stopped, TimeSpan.FromSeconds(30)); 222if (controller.Status != System.ServiceProcess.ServiceControllerStatus.Stopped) 228controller.Start(); 229controller.WaitForStatus(System.ServiceProcess.ServiceControllerStatus.Running, TimeSpan.FromSeconds(30)); 230if (controller.Status != System.ServiceProcess.ServiceControllerStatus.Running)