ContextMarshalException

ContextMarshalException

serializable

System (mscorlib.dll)

class

This exception is thrown when
a marshaler fails to move an object
across a context boundary. This is usually the case if a
nonserializable object is passed as a parameter to a cross-context
call, such as an instance of the
CrossAppDomainDelegate.