_Exception.Source Proprietà

Definizione

Fornisce oggetti COM con accesso indipendente dalla versione alla proprietà 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

Valore della proprietà

Nome dell'oggetto che ha generato l'errore.

Commenti

Questo metodo è destinato all'accesso alle classi gestite da codice non gestito e non deve essere chiamato dal codice gestito.

La Exception.Source proprietà ottiene o imposta il nome dell'applicazione o dell'oggetto che causa l'errore.

Si applica a

Vedi anche