Retrieves or assigns a string containing the name of the application or the object that has generated the error.
[Visual Basic] Overridable Public Property Source As String [C#] public string Source {virtual get; virtual set;} [C++] public: __property virtual String* get_Source(); public: __property virtual void set_Source(String*); [JScript] public function get Source() : String; public function set Source(String);
A String containing the name of the application or the object that has generated the error.
The Source method returns the source and assigns a string value to the error that has occurred, such as the application name.