共用方式為


ITestSettingsMachineRole Interface

Represents a machine role that is associated with a test settings object.

Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

Syntax

'Declaration
Public Interface ITestSettingsMachineRole _
    Inherits IMachineRole, IPropertyOwner, IDataErrorInfo, INotifyPropertyChanged
public interface ITestSettingsMachineRole : IMachineRole, 
    IPropertyOwner, IDataErrorInfo, INotifyPropertyChanged
public interface class ITestSettingsMachineRole : IMachineRole, 
    IPropertyOwner, IDataErrorInfo, INotifyPropertyChanged
type ITestSettingsMachineRole =  
    interface 
        interface IMachineRole 
        interface IPropertyOwner 
        interface IDataErrorInfo 
        interface INotifyPropertyChanged 
    end
public interface ITestSettingsMachineRole extends IMachineRole, IPropertyOwner, IDataErrorInfo, INotifyPropertyChanged

The ITestSettingsMachineRole type exposes the following members.

Properties

  Name Description
Public property Error Gets an error message indicating what is wrong with this object. (Inherited from IDataErrorInfo.)
Public property Id Gets the GUID for this machine role. (Inherited from IMachineRole.)
Public property InvalidProperties Gets a list of property names that are invalid. (Inherited from IPropertyOwner.)
Public property IsDirty Gets a value that indicates whether any properties have changed since the last refresh, fetch, or save. (Inherited from IPropertyOwner.)
Public property IsExecution Gets a value that indicates whether this machine role executes tests.
Public property Item Gets the error message for the property with the given name. (Inherited from IDataErrorInfo.)
Public property Name Gets or sets a user-displayable name for this machine role. Must be unique. (Inherited from IMachineRole.)

Top

Events

  Name Description
Public event PropertyChanged Occurs when a property value changes. (Inherited from INotifyPropertyChanged.)

Top

See Also

Reference

Microsoft.TeamFoundation.TestManagement.Client Namespace

IMachineRole

IPropertyOwner

IDataErrorInfo

INotifyPropertyChanged