Skip to content

Commit a5a17e2

Browse files
author
ecfan
committed
Fix Acrolinx issues and formatting
1 parent 6fb6492 commit a5a17e2

File tree

1 file changed

+23
-11
lines changed

1 file changed

+23
-11
lines changed

articles/logic-apps/add-run-csharp-scripts.md

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -499,39 +499,51 @@ public static string EncryptString(string plainText)
499499
}
500500
```
501501

502-
## Classes
503-
504-
### WorkflowContext class
502+
## WorkflowContext class
505503

506504
Represents a workflow context.
507505

508-
#### Methods
506+
### Methods
509507

510-
##### Task<WorkflowOperationResult> GetActionResult(string actionName)
508+
#### GetActionResult(string actionName)
511509

512510
Gets the result from a specific action in the workflow.
513511

514-
###### Parameters
512+
The asynchronous version uses the [**Task<TResult>** return type](/dotnet/api/system.threading.tasks.task-1), for example:
513+
514+
`Task<WorkflowOperationResult> GetActionResult(string actionName)`
515+
516+
##### Parameters
515517

516518
**`actionName`**: The action name.
517519

518520
##### Returns
519521

520-
A**`Task`** object that represents the asynchronous operation. The task result contains a **`WorkflowOperationResult`** object.
522+
The asynchronous version returns a**`Task`** object that represents the asynchronous operation. The task result contains a **`WorkflowOperationResult`** object. For information about the **WorkflowOperationResult** object properties, see [WorkflowOperationResult class](#workflowoperationresult-class).
521523

522-
##### Task<WorkflowOperationResult> RunTriggerResult()
524+
#### RunTriggerResult()
523525

524526
Gets the result from the trigger in the workflow.
525527

528+
The asynchronous version uses the [**Task<TResult>** return type](/dotnet/api/system.threading.tasks.task-1), for example:
529+
530+
`Task<WorkflowOperationResult> RunTriggerResult()`
531+
532+
##### Parameters
533+
534+
None.
535+
526536
##### Returns
527537

528-
A **`Task`** object that represents the asynchronous operation. The task result contains a **`WorkflowOperationResult`** object with the following properties:
538+
The asynchronous version returns a **`Task`** object that represents the asynchronous operation. The task result contains a **`WorkflowOperationResult`** object. For information about the **WorkflowOperationResult** object properties, see [WorkflowOperationResult class](#workflowoperationresult-class).
539+
540+
<a name="workflowoperationresult-class"></a>
529541

530-
### WorkflowOperationResult class
542+
## WorkflowOperationResult class
531543

532544
Represents the result from a workflow operation.
533545

534-
#### Properties
546+
### Properties
535547

536548
| Name | Type | Description |
537549
|------|------|-------------|

0 commit comments

Comments
 (0)