19 instantiations of EndpointNotFoundException
System.ServiceModel.Http (3)
System\ServiceModel\Channels\HttpChannelHelpers.cs (2)
132return new EndpointNotFoundException(SR.Format(SR.EndpointNotFound, request.RequestUri.AbsoluteUri), exception); 153return new EndpointNotFoundException(SR.Format(SR.EndpointNotFound, request.RequestUri.AbsoluteUri), exception);
System\ServiceModel\Channels\HttpResponseMessageHelper.cs (1)
348throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new EndpointNotFoundException(SR.Format(SR.EndpointNotFound, _httpRequestMessage.RequestUri.AbsoluteUri)));
System.ServiceModel.NetFramingBase (2)
System\ServiceModel\Channels\FramingDecoders.cs (2)
272return new EndpointNotFoundException(SR.Format(SR.EndpointNotFound, via)); 288return new EndpointNotFoundException(SR.Format(SR.Sharing_EndpointUnavailable, via));
System.ServiceModel.NetNamedPipe (2)
System\ServiceModel\Channels\PipeConnectionInitiator.cs (2)
125throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new EndpointNotFoundException(SR.Format( 137new EndpointNotFoundException(SR.Format(SR.EndpointNotFound, uri.AbsoluteUri),
System.ServiceModel.NetTcp (7)
System\ServiceModel\Channels\DnsCache.cs (2)
75new EndpointNotFoundException(SR.Format(SR.DnsResolveFailed, hostName))); 104new EndpointNotFoundException(SR.Format(SR.DnsResolveFailed, hostName), dnsException));
System\ServiceModel\Channels\SocketConnection.cs (5)
844return new EndpointNotFoundException(SR.Format(SR.TcpConnectError, remoteUri.AbsoluteUri, (int)socketException.SocketErrorCode, socketException.Message), innerException); 848return new EndpointNotFoundException(SR.Format(SR.TcpConnectErrorWithTimeSpan, remoteUri.AbsoluteUri, (int)socketException.SocketErrorCode, socketException.Message, timeSpent), innerException); 904new EndpointNotFoundException(SR.Format(SR.UnableToResolveHost, uri.Host), socketException)); 910new EndpointNotFoundException(SR.Format(SR.UnableToResolveHost, uri.Host))); 977new EndpointNotFoundException(SR.Format(SR.NoIPEndpointsFoundForHost, uri.Host)));
System.ServiceModel.Primitives (3)
System\ServiceModel\Channels\FaultConverter.cs (1)
141exception = new EndpointNotFoundException(fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).Text);
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (1)
1865return new EndpointNotFoundException(FaultException.GetSafeReasonText(fault));
System\ServiceModel\Security\SecurityUtils.cs (1)
980throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new EndpointNotFoundException(SRP.Format(SRP.SecurityEndpointNotFound, target), faultException));
System.ServiceModel.UnixDomainSocket (2)
System\ServiceModel\Channels\SocketConnection.cs (2)
807return new EndpointNotFoundException(SR.Format(SR.UDSConnectError, remoteUri.AbsoluteUri, (int)socketException.SocketErrorCode, socketException.Message), innerException); 811return new EndpointNotFoundException(SR.Format(SR.UDSConnectErrorWithTimeSpan, remoteUri.AbsoluteUri, (int)socketException.SocketErrorCode, socketException.Message, timeSpent), innerException);
5 references to EndpointNotFoundException
Binding.UDS.IntegrationTests (1)
UDSBindingTests.cs (1)
197Assert.Throws<EndpointNotFoundException>(() => ((IChannel)serviceProxy).Open());
Client.ExpectedExceptions.IntegrationTests (4)
ExpectedExceptionTests.4.1.0.cs (4)
28EndpointNotFoundException exception = Assert.Throws<EndpointNotFoundException>(() => 160EndpointNotFoundException exception = Assert.Throws<EndpointNotFoundException>(() =>