Failure.Code Property
Gets or sets a code. Typically this is the name of the exception.
Namespace: Microsoft.TeamFoundation.Build.Server
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.