Chapter 20. Custom Marshaling
In This Chapter
• Transforming Types Without Custom Marshaling
• Custom Marshaling Architecture
• Marshalers, Marshalers, Marshalers!
Custom marshaling is the extensibility mechanism for the Interop Marshaler. The term custom marshaling can mean different things in different situations, but this chapter refers to customizing Interop marshaling across managed/unmanaged boundaries. COM-style custom marshaling across contexts (performed by implementing
IMarshal) is completely independent of Interop custom marshaling, and both can coexist peacefully.