Језик

JavaPeerProxy(String, Type) Constructor

Definition

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.

Applies to