_Exception.Source _Exception.Source _Exception.Source _Exception.Source Property

定义

为 COM 对象提供对 Source 属性的版本无关的访问。Provides COM objects with version-independent access to the Source property.

public:
 property System::String ^ Source { System::String ^ get(); void set(System::String ^ value); };
public string Source { get; set; }
member this.Source : string with get, set
Public Property Source As 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.

Exception.Source属性获取或设置应用程序或导致错误的对象的名称。The Exception.Source property gets or sets the name of the application or the object that causes the error.

适用于

另请参阅