Start() public method

public Start ( ) : ObjectState
return ObjectState
Esempio n. 1
0
 public static async Task StartAndWait(this IIS.ApplicationPool appPool)
 {
     appPool.Start();
     await WaitForState(() => appPool.State, IIS.ObjectState.Started);
 }
Esempio n. 2
0
        public static void StartAndWait(this IIS.ApplicationPool appPool)
        {
            var wait = new PollingWait(() => appPool.Start(), () => appPool.State == IIS.ObjectState.Started);

            wait.Invoke();
        }