ITestEnvironment Interface
Represents a test environment in the test management client.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
Public Interface ITestEnvironment _
Inherits IPropertyOwner, IDataErrorInfo, INotifyPropertyChanged
public interface ITestEnvironment : IPropertyOwner,
IDataErrorInfo, INotifyPropertyChanged
public interface class ITestEnvironment : IPropertyOwner,
IDataErrorInfo, INotifyPropertyChanged
type ITestEnvironment =
interface
interface IPropertyOwner
interface IDataErrorInfo
interface INotifyPropertyChanged
end
public interface ITestEnvironment extends IPropertyOwner, IDataErrorInfo, INotifyPropertyChanged
The ITestEnvironment type exposes the following members.
Properties
Name | Description | |
---|---|---|
ControllerDisplayName | Gets the display name of the test controller that owns the test environment. | |
ControllerEnvironmentId | Gets or sets the ID of the controller. | |
ControllerName | Gets the name of the controller that owns the test environment. | |
DateCreated | Gets the date and time that the environment was created. | |
Description | Gets or sets the description of the test environment. | |
DisplayName | Gets or sets the display name for the test environment. | |
EnvironmentType | Gets or sets a string that represents the environment type. | |
Error | Gets an error message indicating what is wrong with this object. (Inherited from IDataErrorInfo.) | |
Id | Gets the identifier for the test environment, as registered in Visual Studio Team Foundation Server. | |
InvalidProperties | Gets a list of property names that are invalid. (Inherited from IPropertyOwner.) | |
IsDirty | Gets a value that indicates whether any properties have changed since the last refresh, fetch, or save. (Inherited from IPropertyOwner.) | |
Item | Gets the error message for the property with the given name. (Inherited from IDataErrorInfo.) | |
LabEnvironmentUri | Gets or sets the uniform resource identifier (URI) for the corresponding lab environment. | |
LabServerUri | Gets or sets the URI for the lab server on which the corresponding lab environment can be found. | |
MachineRoles | Gets or sets a collection of machine roles in this test environment. | |
Name | Gets or sets the unique name for this test environment under a team project or test controller. | |
Owner | Gets or sets the identity of the person who owns this environment. | |
Properties | Gets the property bag for the test controller. | |
TeamProject | Gets the team project that owns the test environment. | |
TestController | Gets the test controller that owns the test environment. |
Top
Methods
Name | Description | |
---|---|---|
Register | Registers this test environment with the team project collection and sets the Id. | |
Unregister | Unregisters this test environment and its test environments from the team project collection. | |
Update | Persists the updated properties of the test environment. |
Top
Events
Name | Description | |
---|---|---|
PropertyChanged | Occurs when a property value changes. (Inherited from INotifyPropertyChanged.) |
Top