Failure2010.Code Property

Gets or sets a code. Typically this is the name of the exception.

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

Syntax

'Declaration
<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Internal)> _
Public Property Code As String
[ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Internal)]
public string Code { get; set; }
[ClientPropertyAttribute(ClientVisibility::Public, ClientVisibility::Internal)]
public:
property String^ Code {
    String^ get ();
    void set (String^ value);
}
[<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Internal)>]
member Code : string with get, set
function get Code () : String 
function set Code (value : String)

Property Value

Type: System.String
Returns String.

.NET Framework Security

See Also

Reference

Failure2010 Class

Microsoft.TeamFoundation.Build.Server.Compatibility Namespace