7 references to TransferDirection
System.ServiceModel.Channels (7)
System\ServiceModel\Channels\UdpSocket.cs (7)
194throw FxTrace.Exception.AsError(ConvertNetworkError(socketException, size - offset, TransferDirection.Send, this.timeToLive)); 213return ConvertNetworkError(socketException, result.MessageSize, TransferDirection.Receive, result.TimeToLive); 219static Exception ConvertNetworkError(SocketException socketException, int size, TransferDirection direction, int timeToLive) 236errorMessage = (direction == TransferDirection.Send ? SR.UdpMaxMessageSendSizeExceeded(size) : SR.MaxReceivedMessageSizeExceeded(size)); 251errorMessage = (direction == TransferDirection.Send ? SR.UdpSendException : SR.UdpReceiveException); 310throw FxTrace.Exception.AsError(ConvertNetworkError(socketException, this.size - this.offset, TransferDirection.Send, this.timeToLive)); 333completionException = ConvertNetworkError(socketException, thisPtr.size - thisPtr.offset, TransferDirection.Send, thisPtr.timeToLive);