JniMarshal.SafeInvokeAction 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.
Overloads
SafeInvokeAction(IntPtr, IntPtr, delegate*<IntPtr, IntPtr, Void>)
Invokes a managed callback within a JNI marshaling transition.
public static void SafeInvokeAction(IntPtr jnienv, IntPtr self, delegate*<IntPtr, IntPtr, void> action);
static member SafeInvokeAction : nativeint * nativeint * delegate*<nativeint, nativeint, unit> -> unit
Parameters
- jnienv
-
IntPtr
nativeint
The JNI environment pointer used for the transition and passed to the callback.
- self
-
IntPtr
nativeint
The second pointer argument, passed unchanged to the callback.
The managed function pointer to invoke synchronously.
Remarks
A failed transition prevents invocation. Callback exceptions are passed to the runtime's OnUserUnhandledException hook. After successful entry, EndMarshalMethod runs in a finally block. Runtime hooks can still throw.
Applies to
SafeInvokeAction<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13, T14,T15>(IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, delegate*<IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, Void>)
Invokes a managed callback within a JNI marshaling transition.
public static void SafeInvokeAction<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>(IntPtr jnienv, IntPtr self, T0 p0, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5, T6 p6, T7 p7, T8 p8, T9 p9, T10 p10, T11 p11, T12 p12, T13 p13, T14 p14, T15 p15, delegate*<IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, void> action);
static member SafeInvokeAction : nativeint * nativeint * 'T0 * 'T1 * 'T2 * 'T3 * 'T4 * 'T5 * 'T6 * 'T7 * 'T8 * 'T9 * 'T10 * 'T11 * 'T12 * 'T13 * 'T14 * 'T15 * delegate*<nativeint, nativeint, 'T0, 'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, 'T10, 'T11, 'T12, 'T13, 'T14, 'T15, unit> -> unit
Type Parameters
- T0
The type of the extra callback argument p0.
- T1
The type of the extra callback argument p1.
- T2
The type of the extra callback argument p2.
- T3
The type of the extra callback argument p3.
- T4
The type of the extra callback argument p4.
- T5
The type of the extra callback argument p5.
- T6
The type of the extra callback argument p6.
- T7
The type of the extra callback argument p7.
- T8
The type of the extra callback argument p8.
- T9
The type of the extra callback argument p9.
- T10
The type of the extra callback argument p10.
- T11
The type of the extra callback argument p11.
- T12
The type of the extra callback argument p12.
- T13
The type of the extra callback argument p13.
- T14
The type of the extra callback argument p14.
- T15
The type of the extra callback argument p15.
Parameters
- jnienv
-
IntPtr
nativeint
The JNI environment pointer used for the transition and passed to the callback.
- self
-
IntPtr
nativeint
The second pointer argument, passed unchanged to the callback.
- p0
- T0
The first extra argument, passed unchanged to the callback.
- p1
- T1
The second extra argument, passed unchanged to the callback.
- p2
- T2
The third extra argument, passed unchanged to the callback.
- p3
- T3
The fourth extra argument, passed unchanged to the callback.
- p4
- T4
The fifth extra argument, passed unchanged to the callback.
- p5
- T5
The sixth extra argument, passed unchanged to the callback.
- p6
- T6
The seventh extra argument, passed unchanged to the callback.
- p7
- T7
The eighth extra argument, passed unchanged to the callback.
- p8
- T8
The ninth extra argument, passed unchanged to the callback.
- p9
- T9
The tenth extra argument, passed unchanged to the callback.
- p10
- T10
The eleventh extra argument, passed unchanged to the callback.
- p11
- T11
The twelfth extra argument, passed unchanged to the callback.
- p12
- T12
The thirteenth extra argument, passed unchanged to the callback.
- p13
- T13
The fourteenth extra argument, passed unchanged to the callback.
- p14
- T14
The fifteenth extra argument, passed unchanged to the callback.
- p15
- T15
The sixteenth extra argument, passed unchanged to the callback.
- action
-
delegate*<IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, Void>
delegate*<nativeint, nativeint, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, Void>
The managed function pointer to invoke synchronously.
Remarks
A failed transition prevents invocation. Callback exceptions are passed to the runtime's OnUserUnhandledException hook. After successful entry, EndMarshalMethod runs in a finally block. Runtime hooks can still throw.
Applies to
SafeInvokeAction<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13, T14>(IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, delegate*<IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, Void>)
Invokes a managed callback within a JNI marshaling transition.
public static void SafeInvokeAction<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>(IntPtr jnienv, IntPtr self, T0 p0, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5, T6 p6, T7 p7, T8 p8, T9 p9, T10 p10, T11 p11, T12 p12, T13 p13, T14 p14, delegate*<IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, void> action);
static member SafeInvokeAction : nativeint * nativeint * 'T0 * 'T1 * 'T2 * 'T3 * 'T4 * 'T5 * 'T6 * 'T7 * 'T8 * 'T9 * 'T10 * 'T11 * 'T12 * 'T13 * 'T14 * delegate*<nativeint, nativeint, 'T0, 'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, 'T10, 'T11, 'T12, 'T13, 'T14, unit> -> unit
Type Parameters
- T0
The type of the extra callback argument p0.
- T1
The type of the extra callback argument p1.
- T2
The type of the extra callback argument p2.
- T3
The type of the extra callback argument p3.
- T4
The type of the extra callback argument p4.
- T5
The type of the extra callback argument p5.
- T6
The type of the extra callback argument p6.
- T7
The type of the extra callback argument p7.
- T8
The type of the extra callback argument p8.
- T9
The type of the extra callback argument p9.
- T10
The type of the extra callback argument p10.
- T11
The type of the extra callback argument p11.
- T12
The type of the extra callback argument p12.
- T13
The type of the extra callback argument p13.
- T14
The type of the extra callback argument p14.
Parameters
- jnienv
-
IntPtr
nativeint
The JNI environment pointer used for the transition and passed to the callback.
- self
-
IntPtr
nativeint
The second pointer argument, passed unchanged to the callback.
- p0
- T0
The first extra argument, passed unchanged to the callback.
- p1
- T1
The second extra argument, passed unchanged to the callback.
- p2
- T2
The third extra argument, passed unchanged to the callback.
- p3
- T3
The fourth extra argument, passed unchanged to the callback.
- p4
- T4
The fifth extra argument, passed unchanged to the callback.
- p5
- T5
The sixth extra argument, passed unchanged to the callback.
- p6
- T6
The seventh extra argument, passed unchanged to the callback.
- p7
- T7
The eighth extra argument, passed unchanged to the callback.
- p8
- T8
The ninth extra argument, passed unchanged to the callback.
- p9
- T9
The tenth extra argument, passed unchanged to the callback.
- p10
- T10
The eleventh extra argument, passed unchanged to the callback.
- p11
- T11
The twelfth extra argument, passed unchanged to the callback.
- p12
- T12
The thirteenth extra argument, passed unchanged to the callback.
- p13
- T13
The fourteenth extra argument, passed unchanged to the callback.
- p14
- T14
The fifteenth extra argument, passed unchanged to the callback.
- action
-
delegate*<IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, Void>
delegate*<nativeint, nativeint, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, Void>
The managed function pointer to invoke synchronously.
Remarks
A failed transition prevents invocation. Callback exceptions are passed to the runtime's OnUserUnhandledException hook. After successful entry, EndMarshalMethod runs in a finally block. Runtime hooks can still throw.
Applies to
SafeInvokeAction<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>(IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, delegate*<IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, Void>)
Invokes a managed callback within a JNI marshaling transition.
public static void SafeInvokeAction<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>(IntPtr jnienv, IntPtr self, T0 p0, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5, T6 p6, T7 p7, T8 p8, T9 p9, T10 p10, T11 p11, T12 p12, T13 p13, delegate*<IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, void> action);
static member SafeInvokeAction : nativeint * nativeint * 'T0 * 'T1 * 'T2 * 'T3 * 'T4 * 'T5 * 'T6 * 'T7 * 'T8 * 'T9 * 'T10 * 'T11 * 'T12 * 'T13 * delegate*<nativeint, nativeint, 'T0, 'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, 'T10, 'T11, 'T12, 'T13, unit> -> unit
Type Parameters
- T0
The type of the extra callback argument p0.
- T1
The type of the extra callback argument p1.
- T2
The type of the extra callback argument p2.
- T3
The type of the extra callback argument p3.
- T4
The type of the extra callback argument p4.
- T5
The type of the extra callback argument p5.
- T6
The type of the extra callback argument p6.
- T7
The type of the extra callback argument p7.
- T8
The type of the extra callback argument p8.
- T9
The type of the extra callback argument p9.
- T10
The type of the extra callback argument p10.
- T11
The type of the extra callback argument p11.
- T12
The type of the extra callback argument p12.
- T13
The type of the extra callback argument p13.
Parameters
- jnienv
-
IntPtr
nativeint
The JNI environment pointer used for the transition and passed to the callback.
- self
-
IntPtr
nativeint
The second pointer argument, passed unchanged to the callback.
- p0
- T0
The first extra argument, passed unchanged to the callback.
- p1
- T1
The second extra argument, passed unchanged to the callback.
- p2
- T2
The third extra argument, passed unchanged to the callback.
- p3
- T3
The fourth extra argument, passed unchanged to the callback.
- p4
- T4
The fifth extra argument, passed unchanged to the callback.
- p5
- T5
The sixth extra argument, passed unchanged to the callback.
- p6
- T6
The seventh extra argument, passed unchanged to the callback.
- p7
- T7
The eighth extra argument, passed unchanged to the callback.
- p8
- T8
The ninth extra argument, passed unchanged to the callback.
- p9
- T9
The tenth extra argument, passed unchanged to the callback.
- p10
- T10
The eleventh extra argument, passed unchanged to the callback.
- p11
- T11
The twelfth extra argument, passed unchanged to the callback.
- p12
- T12
The thirteenth extra argument, passed unchanged to the callback.
- p13
- T13
The fourteenth extra argument, passed unchanged to the callback.
- action
-
delegate*<IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, Void>
delegate*<nativeint, nativeint, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, Void>
The managed function pointer to invoke synchronously.
Remarks
A failed transition prevents invocation. Callback exceptions are passed to the runtime's OnUserUnhandledException hook. After successful entry, EndMarshalMethod runs in a finally block. Runtime hooks can still throw.
Applies to
SafeInvokeAction<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>(IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, delegate*<IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, Void>)
Invokes a managed callback within a JNI marshaling transition.
public static void SafeInvokeAction<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>(IntPtr jnienv, IntPtr self, T0 p0, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5, T6 p6, T7 p7, T8 p8, T9 p9, T10 p10, T11 p11, T12 p12, delegate*<IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, void> action);
static member SafeInvokeAction : nativeint * nativeint * 'T0 * 'T1 * 'T2 * 'T3 * 'T4 * 'T5 * 'T6 * 'T7 * 'T8 * 'T9 * 'T10 * 'T11 * 'T12 * delegate*<nativeint, nativeint, 'T0, 'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, 'T10, 'T11, 'T12, unit> -> unit
Type Parameters
- T0
The type of the extra callback argument p0.
- T1
The type of the extra callback argument p1.
- T2
The type of the extra callback argument p2.
- T3
The type of the extra callback argument p3.
- T4
The type of the extra callback argument p4.
- T5
The type of the extra callback argument p5.
- T6
The type of the extra callback argument p6.
- T7
The type of the extra callback argument p7.
- T8
The type of the extra callback argument p8.
- T9
The type of the extra callback argument p9.
- T10
The type of the extra callback argument p10.
- T11
The type of the extra callback argument p11.
- T12
The type of the extra callback argument p12.
Parameters
- jnienv
-
IntPtr
nativeint
The JNI environment pointer used for the transition and passed to the callback.
- self
-
IntPtr
nativeint
The second pointer argument, passed unchanged to the callback.
- p0
- T0
The first extra argument, passed unchanged to the callback.
- p1
- T1
The second extra argument, passed unchanged to the callback.
- p2
- T2
The third extra argument, passed unchanged to the callback.
- p3
- T3
The fourth extra argument, passed unchanged to the callback.
- p4
- T4
The fifth extra argument, passed unchanged to the callback.
- p5
- T5
The sixth extra argument, passed unchanged to the callback.
- p6
- T6
The seventh extra argument, passed unchanged to the callback.
- p7
- T7
The eighth extra argument, passed unchanged to the callback.
- p8
- T8
The ninth extra argument, passed unchanged to the callback.
- p9
- T9
The tenth extra argument, passed unchanged to the callback.
- p10
- T10
The eleventh extra argument, passed unchanged to the callback.
- p11
- T11
The twelfth extra argument, passed unchanged to the callback.
- p12
- T12
The thirteenth extra argument, passed unchanged to the callback.
- action
-
delegate*<IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, Void>
delegate*<nativeint, nativeint, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, Void>
The managed function pointer to invoke synchronously.
Remarks
A failed transition prevents invocation. Callback exceptions are passed to the runtime's OnUserUnhandledException hook. After successful entry, EndMarshalMethod runs in a finally block. Runtime hooks can still throw.
Applies to
SafeInvokeAction<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>(IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, delegate*<IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, Void>)
Invokes a managed callback within a JNI marshaling transition.
public static void SafeInvokeAction<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>(IntPtr jnienv, IntPtr self, T0 p0, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5, T6 p6, T7 p7, T8 p8, T9 p9, T10 p10, T11 p11, delegate*<IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, void> action);
static member SafeInvokeAction : nativeint * nativeint * 'T0 * 'T1 * 'T2 * 'T3 * 'T4 * 'T5 * 'T6 * 'T7 * 'T8 * 'T9 * 'T10 * 'T11 * delegate*<nativeint, nativeint, 'T0, 'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, 'T10, 'T11, unit> -> unit
Type Parameters
- T0
The type of the extra callback argument p0.
- T1
The type of the extra callback argument p1.
- T2
The type of the extra callback argument p2.
- T3
The type of the extra callback argument p3.
- T4
The type of the extra callback argument p4.
- T5
The type of the extra callback argument p5.
- T6
The type of the extra callback argument p6.
- T7
The type of the extra callback argument p7.
- T8
The type of the extra callback argument p8.
- T9
The type of the extra callback argument p9.
- T10
The type of the extra callback argument p10.
- T11
The type of the extra callback argument p11.
Parameters
- jnienv
-
IntPtr
nativeint
The JNI environment pointer used for the transition and passed to the callback.
- self
-
IntPtr
nativeint
The second pointer argument, passed unchanged to the callback.
- p0
- T0
The first extra argument, passed unchanged to the callback.
- p1
- T1
The second extra argument, passed unchanged to the callback.
- p2
- T2
The third extra argument, passed unchanged to the callback.
- p3
- T3
The fourth extra argument, passed unchanged to the callback.
- p4
- T4
The fifth extra argument, passed unchanged to the callback.
- p5
- T5
The sixth extra argument, passed unchanged to the callback.
- p6
- T6
The seventh extra argument, passed unchanged to the callback.
- p7
- T7
The eighth extra argument, passed unchanged to the callback.
- p8
- T8
The ninth extra argument, passed unchanged to the callback.
- p9
- T9
The tenth extra argument, passed unchanged to the callback.
- p10
- T10
The eleventh extra argument, passed unchanged to the callback.
- p11
- T11
The twelfth extra argument, passed unchanged to the callback.
- action
-
delegate*<IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, Void>
delegate*<nativeint, nativeint, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, Void>
The managed function pointer to invoke synchronously.
Remarks
A failed transition prevents invocation. Callback exceptions are passed to the runtime's OnUserUnhandledException hook. After successful entry, EndMarshalMethod runs in a finally block. Runtime hooks can still throw.
Applies to
SafeInvokeAction<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>(IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, delegate*<IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, Void>)
Invokes a managed callback within a JNI marshaling transition.
public static void SafeInvokeAction<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>(IntPtr jnienv, IntPtr self, T0 p0, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5, T6 p6, T7 p7, T8 p8, T9 p9, T10 p10, delegate*<IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, void> action);
static member SafeInvokeAction : nativeint * nativeint * 'T0 * 'T1 * 'T2 * 'T3 * 'T4 * 'T5 * 'T6 * 'T7 * 'T8 * 'T9 * 'T10 * delegate*<nativeint, nativeint, 'T0, 'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, 'T10, unit> -> unit
Type Parameters
- T0
The type of the extra callback argument p0.
- T1
The type of the extra callback argument p1.
- T2
The type of the extra callback argument p2.
- T3
The type of the extra callback argument p3.
- T4
The type of the extra callback argument p4.
- T5
The type of the extra callback argument p5.
- T6
The type of the extra callback argument p6.
- T7
The type of the extra callback argument p7.
- T8
The type of the extra callback argument p8.
- T9
The type of the extra callback argument p9.
- T10
The type of the extra callback argument p10.
Parameters
- jnienv
-
IntPtr
nativeint
The JNI environment pointer used for the transition and passed to the callback.
- self
-
IntPtr
nativeint
The second pointer argument, passed unchanged to the callback.
- p0
- T0
The first extra argument, passed unchanged to the callback.
- p1
- T1
The second extra argument, passed unchanged to the callback.
- p2
- T2
The third extra argument, passed unchanged to the callback.
- p3
- T3
The fourth extra argument, passed unchanged to the callback.
- p4
- T4
The fifth extra argument, passed unchanged to the callback.
- p5
- T5
The sixth extra argument, passed unchanged to the callback.
- p6
- T6
The seventh extra argument, passed unchanged to the callback.
- p7
- T7
The eighth extra argument, passed unchanged to the callback.
- p8
- T8
The ninth extra argument, passed unchanged to the callback.
- p9
- T9
The tenth extra argument, passed unchanged to the callback.
- p10
- T10
The eleventh extra argument, passed unchanged to the callback.
- action
-
delegate*<IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, Void>
delegate*<nativeint, nativeint, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, Void>
The managed function pointer to invoke synchronously.
Remarks
A failed transition prevents invocation. Callback exceptions are passed to the runtime's OnUserUnhandledException hook. After successful entry, EndMarshalMethod runs in a finally block. Runtime hooks can still throw.
Applies to
SafeInvokeAction<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9>(IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, delegate*<IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, Void>)
Invokes a managed callback within a JNI marshaling transition.
public static void SafeInvokeAction<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9>(IntPtr jnienv, IntPtr self, T0 p0, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5, T6 p6, T7 p7, T8 p8, T9 p9, delegate*<IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, void> action);
static member SafeInvokeAction : nativeint * nativeint * 'T0 * 'T1 * 'T2 * 'T3 * 'T4 * 'T5 * 'T6 * 'T7 * 'T8 * 'T9 * delegate*<nativeint, nativeint, 'T0, 'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, unit> -> unit
Type Parameters
- T0
The type of the extra callback argument p0.
- T1
The type of the extra callback argument p1.
- T2
The type of the extra callback argument p2.
- T3
The type of the extra callback argument p3.
- T4
The type of the extra callback argument p4.
- T5
The type of the extra callback argument p5.
- T6
The type of the extra callback argument p6.
- T7
The type of the extra callback argument p7.
- T8
The type of the extra callback argument p8.
- T9
The type of the extra callback argument p9.
Parameters
- jnienv
-
IntPtr
nativeint
The JNI environment pointer used for the transition and passed to the callback.
- self
-
IntPtr
nativeint
The second pointer argument, passed unchanged to the callback.
- p0
- T0
The first extra argument, passed unchanged to the callback.
- p1
- T1
The second extra argument, passed unchanged to the callback.
- p2
- T2
The third extra argument, passed unchanged to the callback.
- p3
- T3
The fourth extra argument, passed unchanged to the callback.
- p4
- T4
The fifth extra argument, passed unchanged to the callback.
- p5
- T5
The sixth extra argument, passed unchanged to the callback.
- p6
- T6
The seventh extra argument, passed unchanged to the callback.
- p7
- T7
The eighth extra argument, passed unchanged to the callback.
- p8
- T8
The ninth extra argument, passed unchanged to the callback.
- p9
- T9
The tenth extra argument, passed unchanged to the callback.
- action
-
delegate*<IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, Void>
delegate*<nativeint, nativeint, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, Void>
The managed function pointer to invoke synchronously.
Remarks
A failed transition prevents invocation. Callback exceptions are passed to the runtime's OnUserUnhandledException hook. After successful entry, EndMarshalMethod runs in a finally block. Runtime hooks can still throw.
Applies to
SafeInvokeAction<T0,T1,T2,T3,T4,T5,T6,T7,T8>(IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, T6, T7, T8, delegate*<IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, T6, T7, T8, Void>)
Invokes a managed callback within a JNI marshaling transition.
public static void SafeInvokeAction<T0,T1,T2,T3,T4,T5,T6,T7,T8>(IntPtr jnienv, IntPtr self, T0 p0, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5, T6 p6, T7 p7, T8 p8, delegate*<IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, T6, T7, T8, void> action);
static member SafeInvokeAction : nativeint * nativeint * 'T0 * 'T1 * 'T2 * 'T3 * 'T4 * 'T5 * 'T6 * 'T7 * 'T8 * delegate*<nativeint, nativeint, 'T0, 'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, unit> -> unit
Type Parameters
- T0
The type of the extra callback argument p0.
- T1
The type of the extra callback argument p1.
- T2
The type of the extra callback argument p2.
- T3
The type of the extra callback argument p3.
- T4
The type of the extra callback argument p4.
- T5
The type of the extra callback argument p5.
- T6
The type of the extra callback argument p6.
- T7
The type of the extra callback argument p7.
- T8
The type of the extra callback argument p8.
Parameters
- jnienv
-
IntPtr
nativeint
The JNI environment pointer used for the transition and passed to the callback.
- self
-
IntPtr
nativeint
The second pointer argument, passed unchanged to the callback.
- p0
- T0
The first extra argument, passed unchanged to the callback.
- p1
- T1
The second extra argument, passed unchanged to the callback.
- p2
- T2
The third extra argument, passed unchanged to the callback.
- p3
- T3
The fourth extra argument, passed unchanged to the callback.
- p4
- T4
The fifth extra argument, passed unchanged to the callback.
- p5
- T5
The sixth extra argument, passed unchanged to the callback.
- p6
- T6
The seventh extra argument, passed unchanged to the callback.
- p7
- T7
The eighth extra argument, passed unchanged to the callback.
- p8
- T8
The ninth extra argument, passed unchanged to the callback.
- action
-
delegate*<IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, T6, T7, T8, Void>
delegate*<nativeint, nativeint, T0, T1, T2, T3, T4, T5, T6, T7, T8, Void>
The managed function pointer to invoke synchronously.
Remarks
A failed transition prevents invocation. Callback exceptions are passed to the runtime's OnUserUnhandledException hook. After successful entry, EndMarshalMethod runs in a finally block. Runtime hooks can still throw.
Applies to
SafeInvokeAction<T0,T1,T2,T3,T4,T5,T6,T7>(IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, T6, T7, delegate*<IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, T6, T7, Void>)
Invokes a managed callback within a JNI marshaling transition.
public static void SafeInvokeAction<T0,T1,T2,T3,T4,T5,T6,T7>(IntPtr jnienv, IntPtr self, T0 p0, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5, T6 p6, T7 p7, delegate*<IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, T6, T7, void> action);
static member SafeInvokeAction : nativeint * nativeint * 'T0 * 'T1 * 'T2 * 'T3 * 'T4 * 'T5 * 'T6 * 'T7 * delegate*<nativeint, nativeint, 'T0, 'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, unit> -> unit
Type Parameters
- T0
The type of the extra callback argument p0.
- T1
The type of the extra callback argument p1.
- T2
The type of the extra callback argument p2.
- T3
The type of the extra callback argument p3.
- T4
The type of the extra callback argument p4.
- T5
The type of the extra callback argument p5.
- T6
The type of the extra callback argument p6.
- T7
The type of the extra callback argument p7.
Parameters
- jnienv
-
IntPtr
nativeint
The JNI environment pointer used for the transition and passed to the callback.
- self
-
IntPtr
nativeint
The second pointer argument, passed unchanged to the callback.
- p0
- T0
The first extra argument, passed unchanged to the callback.
- p1
- T1
The second extra argument, passed unchanged to the callback.
- p2
- T2
The third extra argument, passed unchanged to the callback.
- p3
- T3
The fourth extra argument, passed unchanged to the callback.
- p4
- T4
The fifth extra argument, passed unchanged to the callback.
- p5
- T5
The sixth extra argument, passed unchanged to the callback.
- p6
- T6
The seventh extra argument, passed unchanged to the callback.
- p7
- T7
The eighth extra argument, passed unchanged to the callback.
- action
-
delegate*<IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, T6, T7, Void>
delegate*<nativeint, nativeint, T0, T1, T2, T3, T4, T5, T6, T7, Void>
The managed function pointer to invoke synchronously.
Remarks
A failed transition prevents invocation. Callback exceptions are passed to the runtime's OnUserUnhandledException hook. After successful entry, EndMarshalMethod runs in a finally block. Runtime hooks can still throw.
Applies to
SafeInvokeAction<T0,T1,T2,T3,T4,T5,T6>(IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, T6, delegate*<IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, T6, Void>)
Invokes a managed callback within a JNI marshaling transition.
public static void SafeInvokeAction<T0,T1,T2,T3,T4,T5,T6>(IntPtr jnienv, IntPtr self, T0 p0, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5, T6 p6, delegate*<IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, T6, void> action);
static member SafeInvokeAction : nativeint * nativeint * 'T0 * 'T1 * 'T2 * 'T3 * 'T4 * 'T5 * 'T6 * delegate*<nativeint, nativeint, 'T0, 'T1, 'T2, 'T3, 'T4, 'T5, 'T6, unit> -> unit
Type Parameters
- T0
The type of the extra callback argument p0.
- T1
The type of the extra callback argument p1.
- T2
The type of the extra callback argument p2.
- T3
The type of the extra callback argument p3.
- T4
The type of the extra callback argument p4.
- T5
The type of the extra callback argument p5.
- T6
The type of the extra callback argument p6.
Parameters
- jnienv
-
IntPtr
nativeint
The JNI environment pointer used for the transition and passed to the callback.
- self
-
IntPtr
nativeint
The second pointer argument, passed unchanged to the callback.
- p0
- T0
The first extra argument, passed unchanged to the callback.
- p1
- T1
The second extra argument, passed unchanged to the callback.
- p2
- T2
The third extra argument, passed unchanged to the callback.
- p3
- T3
The fourth extra argument, passed unchanged to the callback.
- p4
- T4
The fifth extra argument, passed unchanged to the callback.
- p5
- T5
The sixth extra argument, passed unchanged to the callback.
- p6
- T6
The seventh extra argument, passed unchanged to the callback.
- action
-
delegate*<nativeint, nativeint, T0, T1, T2, T3, T4, T5, T6, Void>
The managed function pointer to invoke synchronously.
Remarks
A failed transition prevents invocation. Callback exceptions are passed to the runtime's OnUserUnhandledException hook. After successful entry, EndMarshalMethod runs in a finally block. Runtime hooks can still throw.
Applies to
SafeInvokeAction<T0,T1,T2,T3,T4,T5>(IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, delegate*<IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, Void>)
Invokes a managed callback within a JNI marshaling transition.
public static void SafeInvokeAction<T0,T1,T2,T3,T4,T5>(IntPtr jnienv, IntPtr self, T0 p0, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5, delegate*<IntPtr, IntPtr, T0, T1, T2, T3, T4, T5, void> action);
static member SafeInvokeAction : nativeint * nativeint * 'T0 * 'T1 * 'T2 * 'T3 * 'T4 * 'T5 * delegate*<nativeint, nativeint, 'T0, 'T1, 'T2, 'T3, 'T4, 'T5, unit> -> unit
Type Parameters
- T0
The type of the extra callback argument p0.
- T1
The type of the extra callback argument p1.
- T2
The type of the extra callback argument p2.
- T3
The type of the extra callback argument p3.
- T4
The type of the extra callback argument p4.
- T5
The type of the extra callback argument p5.
Parameters
- jnienv
-
IntPtr
nativeint
The JNI environment pointer used for the transition and passed to the callback.
- self
-
IntPtr
nativeint
The second pointer argument, passed unchanged to the callback.
- p0
- T0
The first extra argument, passed unchanged to the callback.
- p1
- T1
The second extra argument, passed unchanged to the callback.
- p2
- T2
The third extra argument, passed unchanged to the callback.
- p3
- T3
The fourth extra argument, passed unchanged to the callback.
- p4
- T4
The fifth extra argument, passed unchanged to the callback.
- p5
- T5
The sixth extra argument, passed unchanged to the callback.
- action
-
delegate*<nativeint, nativeint, T0, T1, T2, T3, T4, T5, Void>
The managed function pointer to invoke synchronously.
Remarks
A failed transition prevents invocation. Callback exceptions are passed to the runtime's OnUserUnhandledException hook. After successful entry, EndMarshalMethod runs in a finally block. Runtime hooks can still throw.
Applies to
SafeInvokeAction<T0,T1,T2,T3,T4>(IntPtr, IntPtr, T0, T1, T2, T3, T4, delegate*<IntPtr, IntPtr, T0, T1, T2, T3, T4, Void>)
Invokes a managed callback within a JNI marshaling transition.
public static void SafeInvokeAction<T0,T1,T2,T3,T4>(IntPtr jnienv, IntPtr self, T0 p0, T1 p1, T2 p2, T3 p3, T4 p4, delegate*<IntPtr, IntPtr, T0, T1, T2, T3, T4, void> action);
static member SafeInvokeAction : nativeint * nativeint * 'T0 * 'T1 * 'T2 * 'T3 * 'T4 * delegate*<nativeint, nativeint, 'T0, 'T1, 'T2, 'T3, 'T4, unit> -> unit
Type Parameters
- T0
The type of the extra callback argument p0.
- T1
The type of the extra callback argument p1.
- T2
The type of the extra callback argument p2.
- T3
The type of the extra callback argument p3.
- T4
The type of the extra callback argument p4.
Parameters
- jnienv
-
IntPtr
nativeint
The JNI environment pointer used for the transition and passed to the callback.
- self
-
IntPtr
nativeint
The second pointer argument, passed unchanged to the callback.
- p0
- T0
The first extra argument, passed unchanged to the callback.
- p1
- T1
The second extra argument, passed unchanged to the callback.
- p2
- T2
The third extra argument, passed unchanged to the callback.
- p3
- T3
The fourth extra argument, passed unchanged to the callback.
- p4
- T4
The fifth extra argument, passed unchanged to the callback.
- action
-
delegate*<nativeint, nativeint, T0, T1, T2, T3, T4, Void>
The managed function pointer to invoke synchronously.
Remarks
A failed transition prevents invocation. Callback exceptions are passed to the runtime's OnUserUnhandledException hook. After successful entry, EndMarshalMethod runs in a finally block. Runtime hooks can still throw.
Applies to
SafeInvokeAction<T0,T1,T2,T3>(IntPtr, IntPtr, T0, T1, T2, T3, delegate*<IntPtr, IntPtr, T0, T1, T2, T3, Void>)
Invokes a managed callback within a JNI marshaling transition.
public static void SafeInvokeAction<T0,T1,T2,T3>(IntPtr jnienv, IntPtr self, T0 p0, T1 p1, T2 p2, T3 p3, delegate*<IntPtr, IntPtr, T0, T1, T2, T3, void> action);
static member SafeInvokeAction : nativeint * nativeint * 'T0 * 'T1 * 'T2 * 'T3 * delegate*<nativeint, nativeint, 'T0, 'T1, 'T2, 'T3, unit> -> unit
Type Parameters
- T0
The type of the extra callback argument p0.
- T1
The type of the extra callback argument p1.
- T2
The type of the extra callback argument p2.
- T3
The type of the extra callback argument p3.
Parameters
- jnienv
-
IntPtr
nativeint
The JNI environment pointer used for the transition and passed to the callback.
- self
-
IntPtr
nativeint
The second pointer argument, passed unchanged to the callback.
- p0
- T0
The first extra argument, passed unchanged to the callback.
- p1
- T1
The second extra argument, passed unchanged to the callback.
- p2
- T2
The third extra argument, passed unchanged to the callback.
- p3
- T3
The fourth extra argument, passed unchanged to the callback.
- action
-
delegate*<nativeint, nativeint, T0, T1, T2, T3, Void>
The managed function pointer to invoke synchronously.
Remarks
A failed transition prevents invocation. Callback exceptions are passed to the runtime's OnUserUnhandledException hook. After successful entry, EndMarshalMethod runs in a finally block. Runtime hooks can still throw.
Applies to
SafeInvokeAction<T0,T1,T2>(IntPtr, IntPtr, T0, T1, T2, delegate*<IntPtr, IntPtr, T0, T1, T2, Void>)
Invokes a managed callback within a JNI marshaling transition.
public static void SafeInvokeAction<T0,T1,T2>(IntPtr jnienv, IntPtr self, T0 p0, T1 p1, T2 p2, delegate*<IntPtr, IntPtr, T0, T1, T2, void> action);
static member SafeInvokeAction : nativeint * nativeint * 'T0 * 'T1 * 'T2 * delegate*<nativeint, nativeint, 'T0, 'T1, 'T2, unit> -> unit
Type Parameters
- T0
The type of the extra callback argument p0.
- T1
The type of the extra callback argument p1.
- T2
The type of the extra callback argument p2.
Parameters
- jnienv
-
IntPtr
nativeint
The JNI environment pointer used for the transition and passed to the callback.
- self
-
IntPtr
nativeint
The second pointer argument, passed unchanged to the callback.
- p0
- T0
The first extra argument, passed unchanged to the callback.
- p1
- T1
The second extra argument, passed unchanged to the callback.
- p2
- T2
The third extra argument, passed unchanged to the callback.
- action
-
delegate*<nativeint, nativeint, T0, T1, T2, Void>
The managed function pointer to invoke synchronously.
Remarks
A failed transition prevents invocation. Callback exceptions are passed to the runtime's OnUserUnhandledException hook. After successful entry, EndMarshalMethod runs in a finally block. Runtime hooks can still throw.
Applies to
SafeInvokeAction<T0,T1>(IntPtr, IntPtr, T0, T1, delegate*<IntPtr, IntPtr, T0, T1, Void>)
Invokes a managed callback within a JNI marshaling transition.
public static void SafeInvokeAction<T0,T1>(IntPtr jnienv, IntPtr self, T0 p0, T1 p1, delegate*<IntPtr, IntPtr, T0, T1, void> action);
static member SafeInvokeAction : nativeint * nativeint * 'T0 * 'T1 * delegate*<nativeint, nativeint, 'T0, 'T1, unit> -> unit
Type Parameters
- T0
The type of the extra callback argument p0.
- T1
The type of the extra callback argument p1.
Parameters
- jnienv
-
IntPtr
nativeint
The JNI environment pointer used for the transition and passed to the callback.
- self
-
IntPtr
nativeint
The second pointer argument, passed unchanged to the callback.
- p0
- T0
The first extra argument, passed unchanged to the callback.
- p1
- T1
The second extra argument, passed unchanged to the callback.
The managed function pointer to invoke synchronously.
Remarks
A failed transition prevents invocation. Callback exceptions are passed to the runtime's OnUserUnhandledException hook. After successful entry, EndMarshalMethod runs in a finally block. Runtime hooks can still throw.
Applies to
SafeInvokeAction<T0>(IntPtr, IntPtr, T0, delegate*<IntPtr, IntPtr, T0, Void>)
Invokes a managed callback within a JNI marshaling transition.
public static void SafeInvokeAction<T0>(IntPtr jnienv, IntPtr self, T0 p0, delegate*<IntPtr, IntPtr, T0, void> action);
static member SafeInvokeAction : nativeint * nativeint * 'T0 * delegate*<nativeint, nativeint, 'T0, unit> -> unit
Type Parameters
- T0
The type of the extra callback argument p0.
Parameters
- jnienv
-
IntPtr
nativeint
The JNI environment pointer used for the transition and passed to the callback.
- self
-
IntPtr
nativeint
The second pointer argument, passed unchanged to the callback.
- p0
- T0
The first extra argument, passed unchanged to the callback.
The managed function pointer to invoke synchronously.
Remarks
A failed transition prevents invocation. Callback exceptions are passed to the runtime's OnUserUnhandledException hook. After successful entry, EndMarshalMethod runs in a finally block. Runtime hooks can still throw.