This documentation is archived and is not being maintained.
RunOnce Class
Visual Studio 2013
Ensures that the enclosed activities run one time across all build agents.
System.Object
System.Activities.Activity
System.Activities.ActivityWithResult
System.Activities.Activity(Of RunOnceResult)
Microsoft.TeamFoundation.Build.Workflow.Activities.RunOnce
System.Activities.Activity
System.Activities.ActivityWithResult
System.Activities.Activity(Of RunOnceResult)
Microsoft.TeamFoundation.Build.Workflow.Activities.RunOnce
Namespace: Microsoft.TeamFoundation.Build.Workflow.Activities
Assembly: Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)
The RunOnce type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Activities | Gets the collection of child activities. |
![]() | CacheId | Gets the identifier of the cache that is unique within the scope of the workflow definition. (Inherited from Activity.) |
![]() | DisplayName | Gets or sets an optional friendly name that is used for debugging, validation, exception handling, and tracking. (Inherited from Activity.) |
![]() | Id | Gets an identifier that is unique in the scope of the workflow definition. (Inherited from Activity.) |
![]() | Name | Gets or sets the name of the run once activity. |
![]() | Result | Gets or sets the result argument for the Activity(Of TResult). (Inherited from Activity(Of RunOnceResult).) |
![]() | ResultType | When implemented in a derived class, gets the type of an activity OutArgument. (Inherited from ActivityWithResult.) |
![]() | Variables | Gets the collection of variables. |
| Name | Description | |
|---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ShouldSerializeDisplayName | Indicates whether the DisplayName property should be serialized. (Inherited from Activity.) |
![]() | ToString | Returns a String that contains the Id and DisplayName of the Activity. (Inherited from Activity.) |
Show:
