Example for Custom IFormatter

  • Thread starter Thread starter Mike Strieder
  • Start date Start date
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.
 
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.
 
Back
Top