Del via


GeneralFunctions.IsInitialInstance Method

Ensures only one copy of the executing application is running at a time.

Namespace: Microsoft.Uii.Common
Assembly: Microsoft.Uii.Common (in Microsoft.Uii.Common.dll)

Usage

'Usage
Dim returnValue As Boolean

returnValue = GeneralFunctions.IsInitialInstance

Syntax

'Declaration
Public Shared Function IsInitialInstance As Boolean
public static bool IsInitialInstance ()
public:
static bool IsInitialInstance ()
public static boolean IsInitialInstance ()
public static function IsInitialInstance () : boolean

Return Value

Type: Boolean
True if it is the initial instance, otherwise false.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

GeneralFunctions Class
GeneralFunctions Members
Microsoft.Uii.Common Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.