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