Source property

Returns the name of the provider that generated the error.

 Visual Basic syntax
 C# syntax