BlockLiteral.SetupBlock(Delegate, Delegate) 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.
Sets up a block using a trampoline and a user delegate.
public void SetupBlock (Delegate trampoline, Delegate userDelegate);
member this.SetupBlock : Delegate * Delegate -> unit
Parameters
- trampoline
- Delegate
The trampoline must be a static delegate. Xamarin.iOS will automatically keep a reference to this delegate.
- userDelegate
- Delegate
The user code to invoke.