A step by step tutorial teaching you how to create your own chat client and chat server easily in C#, for local networks or the Internet.
A C# tutorial showing you how to make use of WMI to extract information on disk drives, such as model, capacity, sectors and serial number.
This tutorial will teach you how to calculate the shipping cost based on the weight, height, length and depth of the box, the distance and the UPS service type.
Exception has been thrown by the target of an invocation
On Thursday, November 3rd 2005 at 03:39 PM
By Andrew Pociu (View Profile)
(Rated 3.9 with 18 votes)
Since you don't know what actually went wrong inside the method that was being invoked, we will need to get the inner exception of the method.
Suppose we have the following line which invokes a method:
To catch the exception, enclose the line within a try/catch block and get the InnerException:
This should show you the actual exception message inside a message box.
|Digg It! Del.icio.us Reddit StumbleIt Newsvine Furl BlinkList|
Rate this Knowledge Base article
Related Knowledge Base Articles
There are no related KB articles.
Related Source Code
There is no related code.
There are no related tutorials.
C# Job Search