IFailure.Code Property

Gets the code that is associated with this failure.

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

Syntax

'Declaration
ReadOnly Property Code As String
string Code { get; }
property String^ Code {
    String^ get ();
}
abstract Code : string with get
function get Code () : String

Property Value

Type: System.String
The code that is associated with this failure.

Remarks

The code is typically the type of the exception that this failure represents.

.NET Framework Security

See Also

Reference

IFailure Interface

Microsoft.TeamFoundation.Build.Client Namespace