_Exception.Source 属性

定义

为 COM 对象提供对 Source 属性的与版本无关的访问。

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

属性值

String

导致错误的应用程序或对象的名称。

注解

此方法用于从非托管代码访问托管类,不应从托管代码调用。

Exception.Source属性获取或设置导致错误的应用程序或对象的名称。

适用于

另请参阅