skuehner
January 19th, 2006, 02:18 PM
Hi,
Is there any way to get the target (I need the name of it) of a delegate function?
There is a Property which is called Target (delegateFunction.Target), but this isn't supported by Compact Framework.
Has anyone of you an idea how I could do that?
Thanks!
P.D.: Here the code I use
if (stateData.EntryFunction != null)
{
scXmlBody.Append("<onentry>\r\n");
scXmlBody.Append("<log expr=\"'");
scXmlBody.Append("Method Name = ");
scXmlBody.Append(stateData.EntryFunction.Target.ToString());
scXmlBody.Append("'\"/>\r\n</onentry>\r\n");
}
The result of this code is, that the function is not recognized anymore.
Is there any way to get the target (I need the name of it) of a delegate function?
There is a Property which is called Target (delegateFunction.Target), but this isn't supported by Compact Framework.
Has anyone of you an idea how I could do that?
Thanks!
P.D.: Here the code I use
if (stateData.EntryFunction != null)
{
scXmlBody.Append("<onentry>\r\n");
scXmlBody.Append("<log expr=\"'");
scXmlBody.Append("Method Name = ");
scXmlBody.Append(stateData.EntryFunction.Target.ToString());
scXmlBody.Append("'\"/>\r\n</onentry>\r\n");
}
The result of this code is, that the function is not recognized anymore.