JniRuntime.JniMarshalMemberBuilder Class
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.
Caution
JniMarshalMemberBuilder is no longer supported. This class will be removed in a future release.
Retains the obsolete marshal-member-builder API and its extension hooks.
[System.Obsolete("JniMarshalMemberBuilder is no longer supported. This class will be removed in a future release.")]
public abstract class JniRuntime.JniMarshalMemberBuilder : IDisposable
[<System.Obsolete("JniMarshalMemberBuilder is no longer supported. This class will be removed in a future release.")>]
type JniRuntime.JniMarshalMemberBuilder = class
interface IDisposable
interface JniRuntime.ISetRuntime
- Inheritance
-
JniRuntime.JniMarshalMemberBuilder
- Attributes
- Implements
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.
Constructors
| Name | Description |
|---|---|
| JniRuntime.JniMarshalMemberBuilder() |
Initializes the legacy builder base class. |
Properties
| Name | Description |
|---|---|
| Runtime |
Gets the runtime assigned to the legacy builder. |
Methods
| Name | Description |
|---|---|
| CreateConstructActivationPeerExpression(ConstructorInfo) |
Declares the legacy hook for building a managed peer activation expression. |
| CreateConstructActivationPeerFunc(ConstructorInfo) |
Always throws NotSupportedException because marshal member building is unsupported. |
| CreateMarshalToManagedDelegate(Delegate) |
Always throws NotSupportedException because marshal member building is unsupported. |
| CreateMarshalToManagedExpression(MethodInfo) |
Declares the legacy hook for building a managed callback expression. |
| Dispose() |
Calls the legacy disposal hook with |
| Dispose(Boolean) |
Marks the builder as disposed. |
| GetExportedMemberRegistrations(Type) |
Declares the legacy hook for obtaining exported native method registrations. |
| GetJniMethodSignature(MethodBase) |
Always throws NotSupportedException because marshal member building is unsupported. |
| GetParameterMarshaler(ParameterInfo) |
Always throws NotSupportedException because marshal member building is unsupported. |
| IsDirectMethod(ParameterInfo[]) |
Tests whether the first two parameter types are both |
| OnSetRuntime(JniRuntime) |
Associates the legacy builder with a runtime, rejecting an already disposed builder. |