Proxy Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Proxy(IInvocationHandler) |
Constructs a new |
Proxy(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
Proxy(IInvocationHandler)
Constructs a new Proxy
instance from a subclass
(typically, a dynamic proxy class) with the specified value
for its invocation handler.
[Android.Runtime.Register(".ctor", "(Ljava/lang/reflect/InvocationHandler;)V", "")]
protected Proxy (Java.Lang.Reflect.IInvocationHandler h);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/reflect/InvocationHandler;)V", "")>]
new Java.Lang.Reflect.Proxy : Java.Lang.Reflect.IInvocationHandler -> Java.Lang.Reflect.Proxy
Parameters
the invocation handler for this proxy instance
- Attributes
Remarks
Constructs a new Proxy
instance from a subclass (typically, a dynamic proxy class) with the specified value for its invocation handler.
Java documentation for java.lang.reflect.Proxy.Proxy(java.lang.reflect.InvocationHandler)
.
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
Proxy(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected Proxy (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Lang.Reflect.Proxy : nativeint * Android.Runtime.JniHandleOwnership -> Java.Lang.Reflect.Proxy
Parameters
- transfer
- JniHandleOwnership
A JniHandleOwnershipindicating how to handle javaReference
Remarks
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.