TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Sujeet Suman
388
4.1k
1.5m
How to stop a delegate to be serialized in WCF?
May 1 2017 12:33 AM
How to stop a delegate to be serialized in WCF.
My code is like below:
public delegate void ClientCallback(CommonContracts.IEventData a_ErrorData);
I would like to do this because i am getting below error:
<Message>There was an error while trying to serialize parameter http://tempuri.org/:GetDriveResult. The InnerException message was 'Type 'System.DelegateSerializationHolder+DelegateEntry' with data contract name 'DelegateSerializationHolder.DelegateEntry:http://schemas.datacontract.org/2004/07/System' is not expected.
Add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to DataContractSerializer.'.
Please see InnerException for more details.
</Message>
Can any body help me here?
Reply
Answers (
1
)
Security and authorization
Wcf , JSON Object binding to spinner