Пример #1
0
 internal FaultException(string reason, FaultCode code, string action, Exception innerException)
     : base(reason, innerException)
 {
     _code   = FaultException.EnsureCode(code);
     _reason = FaultException.CreateReason(reason);
     _action = action;
 }
Пример #2
0
 public FaultException(string reason, FaultCode code, string action)
     : base(reason)
 {
     _code   = FaultException.EnsureCode(code);
     _reason = FaultException.CreateReason(reason);
     _action = action;
 }
Пример #3
0
 public FaultException(string reason)
     : base(reason)
 {
     _code   = FaultException.DefaultCode;
     _reason = FaultException.CreateReason(reason);
 }
Пример #4
0
 public FaultException(string reason, FaultCode code)
     : base(reason)
 {
     this.code = FaultException.EnsureCode(code);
     this.reason = FaultException.CreateReason(reason);
 }