CantStartSingleInstanceException Constructor ()
Initializes a new instance of the CantStartSingleInstanceException class.
Assembly: Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)
A single-instance application differs from a normal application in that only one instance of the application can be running at a time. When a subsequent application instance starts, it attempts to contact the first instance application to pass its command-line arguments. If the first instance cannot be contacted, the CantStartSingleInstanceException is raised in the subsequent application instance. For more information, see Overview of the Visual Basic Application Model.
The following table shows the initial property values for an instance of CantStartSingleInstanceException.
Property | Value |
A null reference (Nothing in Visual Basic). | |
The localized error message string. |
Available since 2.0