asp.net.ph

Exception.Source Property

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 );

Property Value

The name of the application or the object that causes the error.

Remarks

If Source is not set, the name of the assembly where the exception originated is returned.

See Also

Exception Members Skip Navigation Links


Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note