V
Victor Hadianto
Hi All,
Is it possible to set invoke permission at method level? For example
on a class:
public class MyClass
{
public void MethodA() { ... }
public void MethodB() { ... }
}
Can I somehow set that MethodA() and MethodB() will throw exception
depending who calls it? Yes I realise this is probably a design
catastrophe, but is it technically possible to do this? Without manual
introspection of the call stack hopefully.
Many thanks,
Victor
Is it possible to set invoke permission at method level? For example
on a class:
public class MyClass
{
public void MethodA() { ... }
public void MethodB() { ... }
}
Can I somehow set that MethodA() and MethodB() will throw exception
depending who calls it? Yes I realise this is probably a design
catastrophe, but is it technically possible to do this? Without manual
introspection of the call stack hopefully.
Many thanks,
Victor