Custom Attributes on [DataMember] properties RRS feed

  • Question

  • Is it possible with WCF to apply custom attributes to [DataMember] properties and have them accessible to the service's client program via the GetCustomAttributes method?  I would like to pass property validation data to the client program using custom attributes but have not been able to get the custom attribute class to show up in the WSDL.

    Friday, September 7, 2007 8:44 PM


  • The custom attribute does not show up in WSDL.

    Have you tried the callback attributes like [OnDeserialized]?
    Friday, September 7, 2007 9:19 PM