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