Is it possible using reflection to get THE instance of the class of a calling method?
Trying to "hack" a solution for webservices to pass on the Timeout value of the incoming call (When you call a webservice that in turn calls a new webservice using WSE. It sucks when the client sets a timeout of 5 mins and the next level only have the default of 100seconds, or the other way around.).
I already got a custom policy that gets called once the proxy instance calls .SetProxy(...). This is the instance I want to get access to, but the policy code where I can start coding this is 3 "levels" below.
So I am wondering if I do a stacktrace getmethod up 2 levels, will I be able to get that instance in any way? So far I have only been able to get the Type of that class and not the instance.