WCF: is there an attribute to make parameters in the OperationContract required?
问题 I use [DataMember(IsRequired=true)] to make the DataContract properties required. There doesn't seem to be some IsRequired for the OperationContract parameters. How do I make them required and not allow null? The parameter in of OperationContract appears to be optional in SoapUI tool. Though this must never be optional or null. WCF Interface: [OperationContract] IsClientUpdateRequiredResult IsClientUpdateRequired(IsClientUpdateRequiredInput versie); ... [DataContract] public class