This class represents a callback with two context objects of specific types passed as arguments.

C# | Visual Basic | Managed C++ |
public delegate void ContextCallback<C1, C2> ( C1 context1, C2 context2 )
Public Delegate Sub ContextCallback(Of C1, C2) ( _ context1 As C1, _ context2 As C2 _ )
generic<typename C1, typename C2> public delegate void ContextCallback ( C1 context1, C2 context2 )

- C1
- The type of the 1st context object.
- C2
- The type of the 2nd context object.

- context1 (C1)
- The 1st context object passed as argument.
- context2 (C2)
- The 2nd context object passed as argument.