Compartilhar via


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

'Declaração
ReadOnly Property Code As String
    Get
string Code { get; }
property String^ Code {
    String^ get ();
}
abstract Code : string
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