March 2002
Intermediate to advanced
864 pages
31h 8m
English
ContextMarshalException
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.
public class ContextMarshalException : SystemException { // Public Constructors public method ContextMarshalException(); public method ContextMarshalException(string message); public method ContextMarshalException(string message, Exception inner); // Protected Constructors protected method ContextMarshalException( System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context); }
Object→Exception(System.Runtime.Serialization.ISerializable)→SystemException→ContextMarshalException