protected override void BeginProcessing() { Client = ReportingServices.Create(new ReportingServicesConfiguration { BusUri = BusUri, BusQueue = BusQueue, BusCredential = BusCredential.GetNetworkCredentialSafe(), RequestTimeout = TimeSpan.FromSeconds(TimeoutSeconds) }); }
protected virtual void Dispose(bool managed) { Client?.Dispose(); Client = null; }