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