PlatformConfiguration Class

Represents the pair of platform and configuration that a solution or project is built against.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Build.Workflow.Activities.PlatformConfiguration

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

Syntax

'Declaration
<SerializableAttribute> _
Public Class PlatformConfiguration
[SerializableAttribute]
public class PlatformConfiguration
[SerializableAttribute]
public ref class PlatformConfiguration
[<SerializableAttribute>]
type PlatformConfiguration =  class end
public class PlatformConfiguration

The PlatformConfiguration type exposes the following members.

Constructors

  Name Description
Public method PlatformConfiguration() Initializes a new instance of the PlatformConfiguration class.
Public method PlatformConfiguration(String, String) Initializes a new instance of the PlatformConfiguration class.

Top

Properties

  Name Description
Public property Configuration Gets or sets the configuration for which to build the solution or project.
Public propertyStatic member Default Gets an empty PlatformConfiguration object.
Public property IsConfigurationEmpty Gets a flag describing whether the Configuration property is not set.
Public property IsEmpty Gets a flag indicating whether both Configuration and Platform properties are not set.
Public property IsPlatformEmpty Gets a flag describing whether the Platform property is not set.
Public property IsPlatformEmptyOrAnyCpu Gets a flag describing whether the Platform property is set to “Any CPU” or empty.
Public property Platform Gets or sets the string indicating the platform for which to build the solution or project.

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Gets a user-readable string describing the properties of this instance. (Overrides Object.ToString().)

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