Source Property

_Exception.Source Property

 

Provides COM objects with version-independent access to the Exception.Source property.

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

string Source { get; set; }

Property Value

Type: System.String

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

This method is for access to managed classes from unmanaged code and should not be called from managed code.

The Exception.Source property gets or sets the name of the application or the object that causes the error.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft