Пример #1
0
 protected DataServiceException(SerializationInfo info, StreamingContext context)
     : base(info, context)
 {
     Fault = new FaultDto
         {
             Message = info.GetString("DataServiceException.FaultMessage"),
             Detail = info.GetString("DataServiceException.FaultDetail")
         };
 }
Пример #2
0
 public DataServiceException(FaultDto fault)
     : base(fault.Message)
 {
     Fault = fault;
 }
Пример #3
0
 public DataServiceException(FaultDto fault, Exception innerException)
     : base(fault.Message, innerException)
 {
     Fault = fault;
 }