Esempio n. 1
0
 /// <summary>
 /// Error response
 /// </summary>
 /// <param name="exception">The exception</param>
 /// <returns></returns>
 protected BaseHubResponse ErrorResponse(OutboundErrorException exception)
 {
     return(new ErrorHubResponse(exception.OutboundError));
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ErrorHubResponse" /> class
 /// </summary>
 /// <param name="errorException">The error exception</param>
 public ErrorHubResponse(OutboundErrorException errorException)
     : this(errorException.OutboundError)
 {
 }