Пример #1
0
 /// <summary>
 /// Overload for Wait that allows the thread to sleep in milliseconds
 /// </summary>
 /// <param name="milliseconds">Sleep in milliseconds</param>
 /// <param name="milliseconds">Allows for the assignment of an interruptable signal for this Tropo function</param>
 public void Wait(int? milliseconds, Array allowSignals)
 {
     Wait wait = new Wait();
     wait.Milliseconds = milliseconds;
     wait.AllowSignals = allowSignals;
   
     Serialize(wait, "wait");
 }
Пример #2
0
 /// <summary>
 /// Overload for Wait that allows a Wait object to be passed directly.
 /// </summary>
 /// <param name="transfer">Sleep in milliseconds</param>
 public void Wait(Wait wait)
 {
     Wait(wait.Milliseconds, wait.AllowSignals);
 }
Пример #3
0
 /// <summary>
 /// Overload for Wait that allows the thread to sleep in milliseconds
 /// </summary>
 /// <param name="milliseconds">Sleep in milliseconds</param>
 public void Wait(int? milliseconds)
 {
     Wait wait = new Wait();
     wait.Milliseconds = milliseconds;
   
     Serialize(wait, "wait");
 }