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 | |
---|---|---|
Failure |
Top
Properties
Name | Description | |
---|---|---|
Code | Gets or sets a code. Typically this is the name of the exception. | |
Message | Gets or sets the message. Typically this is the message of the exception. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
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.