_Exception.TargetSite Proprietà

Definizione

Fornisce oggetti COM con accesso indipendente dalla versione alla proprietà TargetSite.

public:
 property System::Reflection::MethodBase ^ TargetSite { System::Reflection::MethodBase ^ get(); };
public System.Reflection.MethodBase TargetSite { get; }
member this.TargetSite : System.Reflection.MethodBase
Public ReadOnly Property TargetSite As MethodBase

Valore della proprietà

Oggetto MethodBase, se presente, che ha generato l'eccezione corrente.

Commenti

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

La Exception.TargetSite proprietà ottiene il metodo che genera l'eccezione corrente.

Si applica a

Vedi anche