| |||||
Exception.TargetSite PropertySystem Namespace Exception Class Returns the method that throws the current exception. [ VB ] <Serializable> <ClassInterface ( ClassInterfaceType.AutoDual ) > Public ReadOnly Property TargetSite As MethodBase [ C# ] [ Serializable ] [ ClassInterface ( ClassInterfaceType.AutoDual ) ] public MethodBase TargetSite {get;} [ C++ ] [ Serializable ] [ ClassInterface ( ClassInterfaceType.AutoDual ) ] public: __property MethodBase* get_TargetSite ( ); [ JScript ] public Serializable ClassInterface ( ClassInterfaceType.AutoDual ) function get TargetSite ( ) : MethodBase; Property ValueThe MethodBase that threw the current exception. RemarksIf the method that throws this exception is not available and the stack trace is not a null reference ( Nothing in Visual Basic ), TargetSite obtains the method from the stack trace. If the stack trace is a null reference, TargetSite also returns a null reference. See Also |
| ||||
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme