阅读后XmlSerializer with specified pattern not working我尝试实现这样的服务:OperationContract与XmlSerializerFormat。但是我的Soap消息包含一个额外的标记,它是操作参数。我如何删除该标签? 这里是我的服务样本 [System.ServiceModel.ServiceContractAttribute(Namespa
基本上正如标题所说: [DataContract(Name = "{0}Item")] //This will format properly
public class GenericItem<T>
{
[DataMember(Name = "The{0}")] //This will NOT format properly
public T TheItem { get;