IsFirstRun Method

InternalActivationContextHelper.IsFirstRun Method (ActivationContext)

 

Gets a value indicating whether this is the first time this ActivationContext object has been run.

Namespace:   System.Deployment.Internal
Assembly:  mscorlib (in mscorlib.dll)

public static bool IsFirstRun(
	ActivationContext appInfo
)

Parameters

appInfo
Type: System.ActivationContext

The object to examine.

Return Value

Type: System.Boolean

true if the ActivationContext indicates it is running for the first time; otherwise, false.

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