_Exception.TargetSite Propiedad
Definición
Proporciona el acceso independiente de la versión de los objetos COM a la propiedad TargetSite.Provides COM objects with version-independent access to the TargetSite property.
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
Valor de propiedad
Objeto MethodBase que produjo la excepción actual.The MethodBase object that threw the current exception.
Comentarios
Este método es para el acceso a las clases administradas desde el código no administrado y no debe llamarse desde el código administrado.This method is for access to managed classes from unmanaged code and should not be called from managed code.
La Exception.TargetSite propiedad obtiene el método que produce la excepción actual.The Exception.TargetSite property gets the method that throws the current exception.