JniRuntime.JniMarshalMemberBuilder.CreateMarshalToManagedDelegate Method
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.
Compiles a marshaling expression in .NET 9 and .NET 10 for Android. In .NET 11 for Android, throws NotSupportedException.
public Delegate CreateMarshalToManagedDelegate(Delegate value);
member this.CreateMarshalToManagedDelegate : Delegate -> Delegate
Parameters
- value
- Delegate
The managed delegate. In .NET 9 and .NET 10 for Android, its method is used to create the marshaling expression.
Returns
The compiled marshal-to-managed 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.