Gets the kind of failure that occurred.
Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Shared Function GetFailureKind ( _
    e As Exception _
) As FailureKind
public static FailureKind GetFailureKind(
    Exception e
)
public:
static FailureKind GetFailureKind(
    Exception^ e
)
static member GetFailureKind : 
        e:Exception -> FailureKind
public static function GetFailureKind(
    e : Exception
) : FailureKind
Parameters
- e 
 Type: System.Exception- The exception that occurred. 
Return Value
Type: Microsoft.TeamFoundation.Client.FailureKind
The kind of failure that occurred.
.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.