RunOnce Class
TOC
Collapse the table of content
Expand the table of content

RunOnce Class

Ensures that the enclosed activities run one time across all build agents.

System.Object
  System.Activities.Activity
    System.Activities.ActivityWithResult
      System.Activities.Activity<RunOnceResult>
        Microsoft.TeamFoundation.Build.Workflow.Activities.RunOnce

Namespace:  Microsoft.TeamFoundation.Build.Workflow.Activities
Assembly:  Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)

[ActivityTrackingAttribute(ActivityTrackingOption.ActivityOnly)]
[ContentPropertyAttribute("Activities")]
[ToolboxBitmapAttribute(typeof(TeamBuildBaseActivityDesigner), "RunOnceIcon.png")]
public sealed class RunOnce : Activity<RunOnceResult>

The RunOnce type exposes the following members.

  NameDescription
Public methodRunOnce
Top

  NameDescription
Public propertyActivitiesGets the collection of child activities.
Protected propertyCacheIdGets the identifier of the cache that is unique within the scope of the workflow definition. (Inherited from Activity.)
Public propertyDisplayNameGets or sets an optional friendly name that is used for debugging, validation, exception handling, and tracking. (Inherited from Activity.)
Public propertyIdGets an identifier that is unique in the scope of the workflow definition. (Inherited from Activity.)
Public propertyNameGets or sets the name of the run once activity.
Public propertyResultGets or sets the result argument for the Activity<TResult>. (Inherited from Activity<RunOnceResult>.)
Public propertyResultTypeWhen implemented in a derived class, gets the type of an activity OutArgument. (Inherited from ActivityWithResult.)
Public propertyVariablesGets the collection of variables.
Top

  NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodShouldSerializeDisplayNameIndicates whether the DisplayName property should be serialized. (Inherited from Activity.)
Public methodToStringReturns a String that contains the Id and DisplayName of the Activity. (Inherited from Activity.)
Top

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