public async Task <string> GetServiceManifestName(string applicationTypeName, string applicationTypeVersion, string serviceTypeNameFilter, CancellationToken cancellation) { return(await TryWithCacheFallbackAsync( operationName : "GetServiceManifestName", func : () => _queryClientWrapper.GetServiceManifestName( applicationTypeName: applicationTypeName, applicationTypeVersion: applicationTypeVersion, serviceTypeNameFilter: serviceTypeNameFilter, timeout: _defaultTimeout, cancellationToken: cancellation), cache : _serviceManifestNameCache, key : $"{Uri.EscapeDataString(applicationTypeName)}:{Uri.EscapeDataString(applicationTypeVersion)}:{Uri.EscapeDataString(serviceTypeNameFilter)}", cancellation)); }
public async Task <string> GetServiceManifestName(string applicationTypeName, string applicationTypeVersion, string serviceTypeNameFilter, CancellationToken cancellationToken) { return(await _queryClientWrapper.GetServiceManifestName(applicationTypeName, applicationTypeVersion, serviceTypeNameFilter, TimeSpan.FromSeconds(30), cancellationToken)); }