Share via


SettingMismatch Class

Represents the differences in the comparison of two Setting objects that have the same name.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.TestTools.UITest.Common.SettingMismatch

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Syntax

'Declaration
Public Class SettingMismatch
public class SettingMismatch
public ref class SettingMismatch
type SettingMismatch =  class end
public class SettingMismatch

The SettingMismatch type exposes the following members.

Constructors

  Name Description
Public method SettingMismatch(String) Initializes a new instance of the SettingMismatch class by using the provided name.
Public method SettingMismatch(String, String, MismatchType, Int32) Initializes a new instance of the SettingMismatch class by using the provided name, value, type of mismatch, and warning level.
Public method SettingMismatch(String, String, String, Int32) Initializes a new instance of the SettingMismatch class by using the provided setting name, source value, target value, and warning level.

Top

Properties

  Name Description
Public property HelperText Gets or sets Help text for this mismatch.
Public property Message Gets or sets a description of the mismatch.
Public property MismatchType Gets or sets the type of mismatch.
Public property SettingGroup Gets or sets the setting group for this mismatch.
Public property SettingName Gets or sets the name of the setting.
Public property SourceValue Gets or sets the value of the source setting.
Public property TargetValue Gets or sets the value of the target setting.
Public property WarningLevel Gets or sets the warning level of the setting.

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 the default hash function. (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 Returns a string representation of this mismatch. (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.VisualStudio.TestTools.UITest.Common Namespace

Setting