C# Class Microsoft.VsSDK.IntegrationTestLibrary.DialogBoxPurger

This class is responsible to close dialog boxes that pop up during different VS Calls
Inheritance: IDisposable
Mostrar archivo Open project: IntelliTect/PowerStudio Class Usage Examples

Private Methods

Method Description
DialogBoxPurger ( int buttonAction ) : System

Overloaded ctor.

DialogBoxPurger ( int buttonAction, int numberOfDialogsToWaitFor ) : System

Overloaded ctor.

DialogBoxPurger ( int buttonAction, int numberOfDialogsToWaitFor, string expectedDialogMesssage ) : System

Overloaded ctor.

DialogBoxPurger ( int buttonAction, string expectedDialogMesssage ) : System

Overloaded ctor.

FindMessageBoxString ( IntPtr hwnd, IntPtr unmanagedMemoryLocation ) : bool

Finds a messagebox string on a messagebox.

HandleDialogBoxes ( ) : void

This is the thread method.

IDisposable ( ) : void
Start ( ) : void

Spawns a thread that will start listening to dialog boxes.

WaitForDialogThreadToTerminate ( ) : bool

Waits for the dialog box close thread to terminate. If the thread does not signal back within millisecondsToWait that it is shutting down, then it will tell to the thread to do it.

WaitForDialogThreadToTerminate ( int numberOfMillisecondsToWait ) : bool

Waits for the dialog box close thread to terminate. If the thread does not signal back within millisecondsToWait that it is shutting down, then it will tell to the thread to do it.