FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannelFactory.cs (1)
339via = address.Uri;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportOutputChannel.cs (1)
42toUri = to.Uri;
Metadata\MetadaExchangeResolver.cs (18)
90string uriQuery = this.EndpointAddress.Uri.Query;
91string baseUri = this.EndpointAddress.Uri.AbsoluteUri.Trim('/');
93bool isMexUri = this.EndpointAddress.Uri.AbsoluteUri.EndsWith(mexUri, StringComparison.OrdinalIgnoreCase);
94bool isHttp = this.EndpointAddress.Uri.Scheme == MetadataConstants.Uri.UriSchemeHttp || this.EndpointAddress.Uri.Scheme == MetadataConstants.Uri.UriSchemeHttps;
98this.ServerCertificateValidationProvider?.BeforeServerCertificateValidation(this.EndpointAddress.Uri);
104metadataResolved = await ResolveMetadataAsync(this.EndpointAddress.Uri, MetadataExchangeClientMode.HttpGet, true, cancellationToken).ConfigureAwait(false);
108baseUri = this.EndpointAddress.Uri.AbsoluteUri.Remove(this.EndpointAddress.Uri.AbsoluteUri.Length - uriQuery.Length);
114metadataResolved = await ResolveMetadataAsync(this.EndpointAddress.Uri, MetadataExchangeClientMode.MetadataExchange, true, cancellationToken).ConfigureAwait(false);
117baseUri = this.EndpointAddress.Uri.AbsoluteUri.Remove(this.EndpointAddress.Uri.AbsoluteUri.Length - mexUri.Length);
156this.ServerCertificateValidationProvider?.AfterServerCertificateValidation(this.EndpointAddress.Uri);
163_metadataException = new MetadataExchangeException(MetadataResources.ErrUnableToConnectToUriFormat, this.EndpointAddress.Uri.AbsoluteUri, MetadataResources.EnableMetadataHelpMessage);
252this.GetWebRequest(this.EndpointAddress.Uri, null, null);
281authenticateUser = RequiresAuthentication(ex, this.EndpointAddress.Uri, out bool _);
369string scheme = endpointAddress.Uri.Scheme;
403throw new MetadataExchangeException(MetadataResources.ErrCannotCreateAMetadataExchangeClientFormat, endpointAddress.Uri.OriginalString, scheme);