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 .

 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



C# in a Nutshell
C # in a Nutshell, Second Edition
ISBN: 0596005261
EAN: 2147483647
Year: 2005
Pages: 963

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net