static private GetUrl ( RegionEndpoint regionEndpoint, string regionEndpointServiceName, bool useHttp, bool useDualStack ) : string | ||
regionEndpoint | RegionEndpoint | |
regionEndpointServiceName | string | |
useHttp | bool | |
useDualStack | bool | |
Résultat | string |
protected Uri DetermineEndpoint(IRequest request) { Uri endpoint; if (request.AlternateEndpoint != null) { endpoint = new Uri(ClientConfig.GetUrl(request.AlternateEndpoint, Config.RegionEndpointServiceName, Config.UseHttp)); } else { endpoint = new Uri(this.Config.DetermineServiceURL()); } return(endpoint); }
protected Uri DetermineEndpoint(IRequest request) { return(request.AlternateEndpoint != null ? new Uri(ClientConfig.GetUrl(request.AlternateEndpoint, Config.RegionEndpointServiceName, Config.UseHttp)) : new Uri(this.Config.DetermineServiceURL())); }