Share via


IMachineRole Interface

Describes a type of machine role for a testenvironment, such as the Web server role or the client role.

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

Syntax

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

The IMachineRole 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.
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 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.

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

IPropertyOwner

IDataErrorInfo

INotifyPropertyChanged