Share via


Failure Class

Represents a failure that occurred during a bulk query.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Build.Server.Failure

Namespace:  Microsoft.TeamFoundation.Build.Server
Assembly:  Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)

Syntax

'Declaration
<ClassVisibilityAttribute(ClientVisibility.Internal)> _
Public NotInheritable Class Failure
[ClassVisibilityAttribute(ClientVisibility.Internal)]
public sealed class Failure
[ClassVisibilityAttribute(ClientVisibility::Internal)]
public ref class Failure sealed
[<Sealed>]
[<ClassVisibilityAttribute(ClientVisibility.Internal)>]
type Failure =  class end
public final class Failure

The Failure type exposes the following members.

Constructors

  Name Description
Public method Failure

Top

Properties

  Name Description
Public property Code Gets or sets a code. Typically this is the name of the exception.
Public property Message Gets or sets the message. Typically this is the message of the exception.

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 (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.Build.Server Namespace