JavaPeerProxy(String, Type) Constructor
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.
Initializes a proxy attribute with its Java name and managed target type.
protected JavaPeerProxy(string jniName, Type targetType);
new Java.Interop.JavaPeerProxy : string * Type -> Java.Interop.JavaPeerProxy
Parameters
- jniName
- String
The non-null JNI name to store.
- targetType
- Type
The non-null managed target type to store.
Remarks
Null arguments cause ArgumentNullException. The constructor stores the metadata but does not create a peer.