BuildServerException.ConvertException, méthode (String, String, Exception, Boolean)
Espace de noms : Microsoft.TeamFoundation.Build.Client
Assembly : Microsoft.TeamFoundation.Build.Client (dans Microsoft.TeamFoundation.Build.Client.dll)
Syntaxe
'Déclaration
Public Shared Function ConvertException ( _
exceptionType As String, _
exceptionMessage As String, _
innerException As Exception, _
convertUnknown As Boolean _
) As Exception
public static Exception ConvertException(
string exceptionType,
string exceptionMessage,
Exception innerException,
bool convertUnknown
)
Paramètres
- exceptionType
Type : System.String
- exceptionMessage
Type : System.String
- innerException
Type : System.Exception
- convertUnknown
Type : System.Boolean
Valeur de retour
Type : System.Exception
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.