What is the use of is required property in data contracts?



What is the use of is required property in data contracts?..

Answer / Yadvendra Sharma

The Required attribute is used to specify whether a Data Contract field or property is optional or required. When set to false, it indicates that the field can be null or missing from messages sent to or received by the service.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More WCF Interview Questions

Explain Address, Binding, and contract for a WCF Service?

1 Answers  


What is callback mode in wcf?

1 Answers  


What is overloading in wcf?

1 Answers  


WCF:What is it the Net.TCP Port Sharing? How can we use it?

1 Answers   ADP,


What are the essential components used in wcf?

1 Answers  


Which standard binding could be used for a service that was designed to replace an existing asmx web service?

1 Answers  


What are the types of binding available in wcf?

1 Answers  


What is ConcurrencyMode in WCF?

1 Answers  


what is wcf peer network binding type? : Wcf data services

1 Answers  


What is the transport and message reliability?

1 Answers  


What are the types of Data Contracts in WCF?

1 Answers  


What is the use of is required property in data contracts?

1 Answers  


Categories