Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

c# get Full Exception message if InnerException is not NULL

public static string GetFullMessage(this Exception ex)
        {
            return ex.InnerException == null
                 ? ex.Message
                 : ex.Message + " --> " + ex.InnerException.GetFullMessage();
        }
Comment

PREVIOUS NEXT
Code Example
Csharp :: how to open or close combobox in c# 
Csharp :: create expression func c# for use in where clause 
Csharp :: esc exit winform 
Csharp :: button commandfield commandargument pass textbox 
Csharp :: Enviar correos en C# con MailKit 
Csharp :: unity check if transform doent have parent 
Csharp :: move position smoth unity 
Csharp :: unity on statement how 
Csharp :: single number c# 
Csharp :: how to specify order of test in c# 
Csharp :: touch screen to world point 
Csharp :: c# Windows Forms screenshot 
Csharp :: c# async rethrow exception 
Csharp :: gridview edit update delete in asp.net textbox size 
Csharp :: vb.net ionic zip examples 
Csharp :: initialization of dictionary in other forms c# 
Csharp :: cassandra Keyspaces repository .net 
Csharp :: reflection assemblies gettypes 
Csharp :: how to modigy login page asp.net core 
Csharp :: C# remain space 
Csharp :: How to make a capsule walk in unity 
Csharp :: c# create dll runtime 
Csharp :: c# ensure static constructor is called 
Csharp :: aws asp.net tutorial 
Csharp :: Valid date check with DateTime.TryParse method 
Csharp :: fixed angle unity 
Csharp :: unity only one component type 
Csharp :: how to save checkbox value in database in c# 
Csharp :: photon2 what is a stream 
Csharp :: c# decimal 
ADD CONTENT
Topic
Content
Source link
Name
1+4 =