Language

JniRuntime.JniMarshalMemberBuilder.CreateConstructActivationPeerFunc Method

Definition

Compiles an activation expression in .NET 9 and .NET 10 for Android. In .NET 11 for Android, throws NotSupportedException.

public Func<System.Reflection.ConstructorInfo,Java.Interop.JniObjectReference,object?[]?,object> CreateConstructActivationPeerFunc(System.Reflection.ConstructorInfo constructor);
member this.CreateConstructActivationPeerFunc : System.Reflection.ConstructorInfo -> Func<System.Reflection.ConstructorInfo, Java.Interop.JniObjectReference, obj[], obj>

Parameters

constructor
ConstructorInfo

The constructor metadata. In .NET 9 and .NET 10 for Android, it is used to create the activation expression.

Returns

The compiled activation delegate in .NET 9 and .NET 10 for Android. No delegate is returned in .NET 11 for Android.

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.

Applies to