System Namespace Exception Class
Returns or sets the name of the application or the object that causes the error.
[ VB ]
<Serializable>
<ClassInterface ( ClassInterfaceType.AutoDual ) >
Overridable Public Property Source As String
[ C# ]
[ Serializable ]
[ ClassInterface ( ClassInterfaceType.AutoDual ) ]
public virtual string Source {get; set;}
[ C++ ]
[ Serializable ]
[ ClassInterface ( ClassInterfaceType.AutoDual ) ]
public: __property virtual String* get_Source ( );
public: __property virtual void set_Source ( String* );
[ JScript ]
public Serializable
ClassInterface ( ClassInterfaceType.AutoDual )
function get Source ( ) : String;
public function set Source ( String );
The name of the application or the object that causes the error.
If Source is not set, the name of the assembly where the exception originated is returned.
Exception Members