7 references to AsError
System.ServiceModel.Http (4)
System\ServiceModel\Channels\WebSocketHelper.cs (4)
147
Exception exception = FxTrace.Exception.
AsError
<OperationCanceledException>(aggregationException);
177
Exception exception = FxTrace.Exception.
AsError
<Exception>(ex);
192
throw FxTrace.Exception.
AsError
<CommunicationException>(task.Exception);
205
return FxTrace.Exception.
AsError
<CommunicationException>(task.Exception);
System.ServiceModel.Primitives (3)
Internals\System\Runtime\ExceptionTrace.cs (1)
106
return
AsError
<Exception>(aggregateException);
Internals\System\Runtime\TaskHelpers.cs (1)
24
throw Fx.Exception.
AsError
<TException>(task.Exception);
System\ServiceModel\Dispatcher\TaskMethodInvoker.cs (1)
98
throw FxTrace.Exception.
AsError
<FaultException>(ae);