Warning Class

Represents a warning.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.VersionControl.Client.Warning

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

Syntax

'Declaration
Public NotInheritable Class Warning
public sealed class Warning
public ref class Warning sealed
[<Sealed>]
type Warning =  class end
public final class Warning

The Warning type exposes the following members.

Properties

  Name Description
Public property ChangeType Gets the changetype.
Public property ParentOrChildPath Gets the parent or child path.
Public property User Gets the user to whom the warning was issued.
Public property UserDisplayName The user who has the conflicting change pended.
Public property WarningType Gets the warning type.
Public property Workspace Gets the workspace where the warning occurred.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (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.)
Public method ToString Creates a user-readable string that describes the properties of a Warning object. (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.VersionControl.Client Namespace