Getting bad generated code from “Update Service Reference”

前端 未结 2 819
萌比男神i
萌比男神i 2021-01-25 08:50

In VB.NET (using Visual Studio 2008) my WCF service has an interface something like:

 _
Public Interface IThingService
    

        
2条回答
  •  天涯浪人
    2021-01-25 09:16

    Make sure all your datacontract contains only those properties which has return type as either primitive data type or any other dataContact. Datatype such as DataSet and DataType which requires XMLSerialization will convert your datacontract to MessegeContract and code generator simply displays the same messege as comment.

提交回复
热议问题