UpdateBuildNumber Class
Inheritance Hierarchy
System.Object
System.Activities.Activity
System.Activities.ActivityWithResult
System.Activities.Activity<String>
System.Activities.CodeActivity<String>
Microsoft.TeamFoundation.Build.Workflow.Activities.UpdateBuildNumber
Namespace: Microsoft.TeamFoundation.Build.Workflow.Activities
Assembly: Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)
Syntax
'Declaration
<BuildCategoryAttribute> _
<ToolboxBitmapAttribute(GetType(TeamBuildBaseActivityDesigner), "DefaultBuildIcon.png")> _
Public NotInheritable Class UpdateBuildNumber _
Inherits CodeActivity(Of String)
[BuildCategoryAttribute]
[ToolboxBitmapAttribute(typeof(TeamBuildBaseActivityDesigner), "DefaultBuildIcon.png")]
public sealed class UpdateBuildNumber : CodeActivity<string>
[BuildCategoryAttribute]
[ToolboxBitmapAttribute(typeof(TeamBuildBaseActivityDesigner), L"DefaultBuildIcon.png")]
public ref class UpdateBuildNumber sealed : public CodeActivity<String^>
[<Sealed>]
[<BuildCategoryAttribute>]
[<ToolboxBitmapAttribute(typeof(TeamBuildBaseActivityDesigner), "DefaultBuildIcon.png")>]
type UpdateBuildNumber =
class
inherit CodeActivity<string>
end
public final class UpdateBuildNumber extends CodeActivity<String>
The UpdateBuildNumber type exposes the following members.
Constructors
Name | Description | |
---|---|---|
UpdateBuildNumber |
Top
Properties
Name | Description | |
---|---|---|
BuildNumberFormat | ||
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.) | |
Result | Gets or sets the result argument for the Activity<TResult>. (Inherited from Activity<String>.) | |
ResultType | When implemented in a derived class, gets the type of an activity OutArgument. (Inherited from ActivityWithResult.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
ExpandToken(String, DateTime, IBuildDefinition) | This method is called at design time. It takes in a token of the form $(...) and returns the value that the token expands to. | |
ExpandToken(String, String, IBuildDetail, DateTime, IBuildDefinition, Boolean) | This method takes in a token of the form $(...) and returns the value that the token expands to. | |
ExtractTokens | This method takes in a format string and returns a list of $(...) tokens. | |
FormatStringToBuildNumber | This method takes in a format string and replaces the tokens in it by their expanded values. | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetMacroIndex | ||
GetMacroName | ||
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsValidRevisionFormat | ||
PaddedString | This method converts an integer into a String and pads it with leading zeros to be the required number of digits in length. | |
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.) |
Top
Extension Methods
Name | Description | |
---|---|---|
GetAssemblyMetadataCollection | (Defined by WorkflowHelpers.) |
Top
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.
See Also
Reference
Microsoft.TeamFoundation.Build.Workflow.Activities Namespace