System.Exception.Source Property

Gets or sets the name of the application or the object that causes the error.

Syntax

public virtual string Source { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

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

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0