The best way to do this is by adding a FaultContractAttribute class with a custom serializable error data type to your operation.
英
美
- 执行此操作的最佳方式是将具有自定义可序列化错误数据类型的FaultContractAttribute类添加到操作中。
