Edit

Share via


BlockLiteral.SetupBlockUnsafe(Delegate, Delegate) Method

Definition

Sets up a block using a trampoline and a user delegate.

public void SetupBlockUnsafe (Delegate trampoline, Delegate userDelegate);
member this.SetupBlockUnsafe : Delegate * Delegate -> unit

Parameters

trampoline
Delegate

The trampoline must be a static delegate. The developer's code must keep a reference to it.

userDelegate
Delegate

The user code to invoke.

Applies to