Compartilhar via


Proxy.GetInvocationHandler(Object) Method

Definition

Returns the invocation handler for the specified proxy instance.

[Android.Runtime.Register("getInvocationHandler", "(Ljava/lang/Object;)Ljava/lang/reflect/InvocationHandler;", "")]
public static Java.Lang.Reflect.IInvocationHandler GetInvocationHandler (Java.Lang.Object proxy);
[<Android.Runtime.Register("getInvocationHandler", "(Ljava/lang/Object;)Ljava/lang/reflect/InvocationHandler;", "")>]
static member GetInvocationHandler : Java.Lang.Object -> Java.Lang.Reflect.IInvocationHandler

Parameters

proxy
Object

the proxy instance to return the invocation handler for

Returns

the invocation handler for the proxy instance

Attributes

Exceptions

if the supplied proxy is not a proxy object

Remarks

Returns the invocation handler for the specified proxy instance.

Java documentation for java.lang.reflect.Proxy.getInvocationHandler(java.lang.Object).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to