CantStartSingleInstanceException Constructor

CantStartSingleInstanceException Constructor ()

 

Initializes a new instance of the CantStartSingleInstanceException class.

Namespace:   Microsoft.VisualBasic.ApplicationServices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

public CantStartSingleInstanceException()

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

InnerException

A null reference (Nothing in Visual Basic).

Message

The localized error message string.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft