[ Team LiB ] Previous Section Next Section

ContextMarshalExceptionserializable

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.

public class ContextMarshalException : SystemException {
// Public Constructors
   public ContextMarshalException( );
   public ContextMarshalException(string message);
   public ContextMarshalException(string message,
        Exception inner);
// Protected Constructors
   protected ContextMarshalException(System.Runtime.Serialization.SerializationInfo info,
        System.Runtime.Serialization.StreamingContext context);
}

Hierarchy

Object Exception(System.Runtime.Serialization.ISerializable) SystemException ContextMarshalException

    [ Team LiB ] Previous Section Next Section