예제 #1
0
 /// <summary>
 /// Executes the stop workflow run command
 /// </summary>
 public override void ExecuteCmdlet()
 {
     base.ExecuteCmdlet();
     ConfirmAction(Force.IsPresent,
                   Properties.Resource.CancelLogicAppRunWarning,
                   Properties.Resource.CancelLogicAppRunMessage,
                   Name,
                   () =>
     {
         LogicAppClient.CancelWorkflowRun(this.ResourceGroupName, this.Name, this.RunName);
     },
                   null);
 }
 /// <summary>
 /// Executes the stop workflow run command
 /// </summary>
 public override void ExecuteCmdlet()
 {
     base.ExecuteCmdlet();
     LogicAppClient.CancelWorkflowRun(this.ResourceGroupName, this.Name, this.RunName);
 }