473,507 Members | 5,060 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

[OnDeserialized()] and StreamingContext

For a method decorated as the one below, what passes the
StreamingContext argument? The serialization infrastructure?

[OnDeserialized()]
private void OnDeserializedHandler(StreamingContext context) {

}
Jun 28 '06 #1
1 6163
antoan,

Yes, the binary formatter will call this method when an object is done
serializing. It is not available on the Soap formatter.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"antoan" <an****@antoan.plus.com> wrote in message
news:44**********************@ptn-nntp-reader01.plus.net...
For a method decorated as the one below, what passes the StreamingContext
argument? The serialization infrastructure?

[OnDeserialized()]
private void OnDeserializedHandler(StreamingContext context) {

}

Jun 28 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
1038
by: news.microsoft.com | last post by:
I have created an add-in for VS.NET and when it starts I want the add-in to read the options from file. I have created a class (with the attribute set) that contains the options and implemented...
7
6526
by: Lars-Erik Aabech | last post by:
Hi! I've got problems with serializing my collections of business objects. The objects themselves serialize fine, but the collections fail. I've got the following structure: Base collection...
1
4468
by: Maheal | last post by:
I have been trying to Serialize an object that is the child of another object which is also serializable. Here is the simplified scenario (assume missing code is correct): class One :...
4
2195
by: Aaron Clamage | last post by:
Hi, Could someone please confirm the following? I think I have found a subtle .NET serialization bug. It occurs when object has a list of items containing another object of the same type and...
10
2859
by: gregbacchus | last post by:
Can someone please help me and tell my why the following code is not working, and hopefully how to get it working? What I am trying to do is make a serialization surrogate that stores, amongst...
2
1731
by: Marko | last post by:
Hi, There are few properties that don't follow the traditional 'by handle' values. For example: System::Runtime::Serialization::Formatter ^f = ...;...
3
6660
by: GreyAlien007 | last post by:
I extended the class TreeNode to add some properties of my liking. Anyway, no problems there, I can add my derived TreeNode into TreeNodeCollections and use the properties etc. However, when I...
6
1882
by: semedao | last post by:
Hi All, I had working code that made custom serialization on objects that inherit from queue in the inherited queue I create my own GetObjectData: public void GetObjectData(SerializationInfo info,...
5
5517
by: not_a_commie | last post by:
DataContractSerializer.ReadObject creates an object without calling any constructors. It doesn't require a parameterless constructor like all other deserialization implementations I've ever seen or...
0
7223
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7314
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
5623
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5041
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3191
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1540
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
758
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
411
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.