Share via


Failure.Code Property

Short unique string that describes the error. Usually the classname of the exception.

Synonymous with SoapException.Code

Namespace:  Microsoft.TeamFoundation.VersionControl.Server
Assembly:  Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)

Syntax

'Declaration
<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)> _
Public Property Code As String
[ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)]
public string Code { get; set; }
[ClientPropertyAttribute(ClientVisibility::Public, ClientVisibility::Private)]
public:
property String^ Code {
    String^ get ();
    void set (String^ value);
}
[<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)>]
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

Failure Class

Microsoft.TeamFoundation.VersionControl.Server Namespace