How define object that will be send to the other side?
How to define an object that will be send to the开发者_如何学运维 client ?
You can use the DataContract and the DataMember
[DataContract]
public class SomeObject
{
[DataMember]
public Int32 SomePropertis
{
get;
set;
}
}
精彩评论