If the application was launched by a host application then calling this method will result in this application switching focus back to the host application. It may optionally disconnect from the hardware as well depending upon the command line options used by the host application when launching this application.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Overridable Sub SwitchToHostApplication() |
| C# | |
|---|
public virtual void SwitchToHostApplication() |
| C++/CLI | |
|---|
public:
virtual void SwitchToHostApplication(); |
Exceptions
| Exception | Description |
| System.NotImplementedException |
Thrown if the server side is an older version than when this API was first introduced.
|
| System.Exception |
Other exception types that derive from Exception may be thrown if there is an error when disconnecting hardware during this call.
|
Requirements
Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)
Minimum Software Version Requirement: Keysight 89600 VSA
Ver 30.20
See Also