System.Runtime.Serialization.SerializationInfo Class
Information   Base Types   Related Resources

Holds all the data needed to serialize or deserialize an object. This class cannot be inherited.

  • Namespace: System.Runtime.Serialization
  • First seen in: .NET v1.0.3705
  • Last seen in: .NET v1.1.4322
  • Last changed in: .NET v1.0.3705
  • Assembly: mscorlib.dll

  • System.Object
  • View this type on MSDN
  • View this type on WinFX 247
    Articles (10)Discussions (172)MembersRotorChanges
    Articles

    Page: 1
    Exception Management in .NET
    MSDN
    This document discusses design and implementation guidelines for exception management systems that use .NET technologies. It focuses on the process of handling exceptions within .NET applications in a highly maintainable and supportable manner.
    Implementing the Prototype design Pattern
    .NET Xtreme
    In the example I have created an EmpData class that implements ICloneable and ISerializable interfaces, ICloneable interface is required to mark the class as Cloneable and Clone method is implemented. ISerializable interface is used to implement deep copy (clone) for an EmpData Class, the trick I have used it to serialize the EmpData in a file and Deserialize the file and create another EmpData object, that would copy the Emp objects rather then copying their references as Clone method does.
    Nine reasons not to use serialization
    The Code Project
    Although .NET provides a number of quick and easy ways to serialize and deserialize data, do not use them. This article explains why.
    Object Serialization in .NET
    MSDN
    Why would you want to use serialization? The two most important reasons are to persist the state of an object to a storage medium so an exact copy can be recreated at a later stage, and to send the object by value from one application domain to another. For example, serialization is used to save session state in ASP.NET and to copy objects to the clipboard in Windows Forms. It is also used by remoting to pass objects by value from one application domain to another. This article provides an overview of the serialization used in Microsoft .NET.
    Object Serialization in Visual Basic .NET
    MSDN
    When building applications using objects, we are often faced with the requirement to treat all the various data within an object as a single unit. This comes into play, for instance, when you want to pass an object across the network—since you don't want to send each individual bit of object data one at a time across the network, but rather, all at once.
    Object Serialization using C#
    The Code Project
    How to serialize custom created class objects using C#.
    Object Serialization using C#
    The Code Project
    Writing crucial data to the disk as TEXT is always dangerous. Any anonymous user can open the text file and easily read your data. With Object Serialization, you can reduce this danger to a certain extent. You can write any complex object directly to a filestream without converting values of individual properties into a text. You can make the data written, to the disk, atleast not human readable. In order for the users to read your data files, they have to use your program. Like a File Open command which you may provide in your application.
    Persisting Application data using Hashtable and IsolatedStorage
    The Code Project
    This article demonstrates a custom class that can be used to store and retrieve application data in an easy and reliable manner. It uses an extended Hashtable to persist data into Isolated Storage. You can download a sample project which demonstrates the use of this simple, but very useful class.
    Serialization
    C#Today
    One of the most fundamental jobs for a piece of software is saving a document and loading it back up again. This process has become known as serialization, and .NET has strong support for this. In this article, Dot Net Guruhew Reynolds takes a look at how to save and load documents for a simple WinForms application. As part of the work, he introduces a reference implementation for properly handling the creating, saving and opening of documents as laid down by the Windows guidelines.
    The Well-Tempered Exception
    MSDN
    A few months ago, I was writing some code and I came across an Exception class that didn't work the way I expected. I wanted to catch an exception and then wrap it in an exception of the same type. However there wasn't a constructor that took an exception, so I couldn't do it. In other words, the class designer hadn't included the (string message, Exception inner) constructor.
    Ad


    Need Dot Net Interview Questions?
    Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
    .Net Projects
    Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
    Free .net Help
    Commission ExamGuru, Inc. and his team for your next bespoke software project
    FogBUGZ
    The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
    Awesome Tools
    If you don't know about these, you're missing out... IT Certification Questions
    IT Interview Questions
    Free Oracle 10g Training
    MCSE Boortcamp
    Cisco Study Guides
    Cheap Study Guides
    Exact Questions
    Dot Net Interview Questions
    Oracle OCP
    Cheap Travel
    Designer Perfumes - Wholesale Prices
    Free Programming Tutorials
     
    ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
     Copyright © ExamGuru, Inc. 2001-2006
    Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification