VAGSuite.ctrlReleaseNotes.GetExceptionType C# (CSharp) Méthode

GetExceptionType() public static méthode

public static GetExceptionType ( Exception ex ) : string
ex System.Exception
Résultat string
        public static string GetExceptionType(Exception ex)
        {
            string exceptionType = ex.GetType().ToString();
            return exceptionType.Substring(
                exceptionType.LastIndexOf('.') + 1);
        }