Chapter 20. Custom Marshaling

In This Chapter

Transforming Types Without Custom Marshaling

Custom Marshaling Architecture

Marshalers, Marshalers, Marshalers!

Limitations

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.

The work done by the Interop Marshaler without custom marshaling is summarized in Figure 20.1. These are the same diagrams that were presented in Chapter ...

Get .NET and COM: The Complete Interoperability Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.