Example for Custom IFormatter

T

Tian Min Huang

Hello Mike,

Thanks for your post. If you want to create a custom iformatter, you have
to implement IFormatter interface. As you know, IFormatter has two methods
- Serialize and DeSerialize and three properties - Binder , Context and
SurrogateSelector. Please refer to MSDN docuemntation on "IFormatter
Members" at

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/
frlrfsystemruntimeserializationiformattermemberstopic.asp

As stated in your post, the sample
http://www.sellsbrothers.com/tools/SafeFormatter.zip implements a custom
formatter. I found another sample at
http://www.codeproject.com/useritems/RemotingTech.asp.

Hope this helps.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! ¨C www.microsoft.com/security
This posting is provided ¡°as is¡± with no warranties and confers no rights.
 
T

Tian Min Huang

Hi Mike,

You are welcome. If you have any problems or concerns, please post in the
group and we will follow up with you there.

Thank you for using Microsoft MSDN managed newsgroup! :)

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! ¨C www.microsoft.com/security
This posting is provided ¡°as is¡± with no warranties and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top