_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

造成錯誤的應用程式或物件的名稱。

備註

這個方法是用來從非受控碼存取 managed 類別,不應該從 managed 程式碼呼叫。

Exception.Source屬性會取得或設定造成錯誤的應用程式或物件的名稱。

適用於

另請參閱