Version

Close(String) Method

Closes the desktop alert window associated with the specified UltraDesktopAlertWindowInfo instance.
Syntax
'Declaration
 
Public Overloads Sub Close( _
   ByVal key As String _
) 
public void Close( 
   string key
)

Parameters

key
The value which is compared to the UltraDesktopAlertWindowInfo.Key property of all currently open UltraDesktopAlertWindowInfo instances.

Return Value

An UltraDesktopAlertWindowInfo instance which contains information about the desktop alert window.
Exceptions
ExceptionDescription
System.ExceptionThrown when the value of the key parameter does not match that of an instance which is currently open.
Remarks

Note: The key parameter must match that of an UltraDesktopAlertWindowInfo instance which is currently open, or an exception is thrown. To determine whether an UltraDesktopAlertWindowInfo instance is currently open, use the IsOpen(UltraDesktopAlertWindowInfo) method.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also