Stop() 공개 메소드

public Stop ( ) : ObjectState
리턴 ObjectState
예제 #1
0
 public static async Task StopAndWait(this IIS.ApplicationPool appPool)
 {
     appPool.Stop();
     await appPool.WaitForState(IIS.ObjectState.Stopped);
 }
예제 #2
0
        public static void StopAndWait(this IIS.ApplicationPool appPool)
        {
            var wait = new PollingWait(() => appPool.Stop(), () => appPool.State == IIS.ObjectState.Stopped);

            wait.Invoke();
        }