_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à

String

Nome dell'oggetto che ha generato l'errore.

Commenti

Questo metodo consente l'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 ha generato l'errore.

Si applica a

Vedi anche