Inheritance: System.Net.Http.MessageProcessingHandler
Exemple #1
0
 protected override void ProcessRecord()
 {
     try
     {
         base.ProcessRecord();
         ExecuteCmdlet();
     }
     catch (Exception ex)
     {
         WriteExceptionError(ex);
     }
     finally { WriteDebug(HttpRestCallLogger.Flush()); }
 }
Exemple #2
0
 protected override void ProcessRecord()
 {
     Validate.ValidateInternetConnection();
     InitChannelCurrentSubscription();
     base.ProcessRecord();
     try
     {
         OnProcessRecord();
     }
     finally
     {
         WriteDebug(HttpRestCallLogger.Flush());
     }
 }