Removed out-of-date workflow reference in docs (#1463)

Docs: Removed out-of-date workflow reference
This commit is contained in:
Whit Waldo 2025-02-24 12:38:47 -06:00 committed by GitHub
parent 2b288a1135
commit 52f0851780
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 20 deletions

View File

@ -282,26 +282,6 @@ namespace LockService
} }
``` ```
### Manage workflow instances (Alpha)
```csharp
var daprClient = new DaprClientBuilder().Build();
string instanceId = "MyWorkflowInstance1";
string workflowComponentName = "dapr"; // alternatively, this could be the name of a workflow component defined in yaml
string workflowName = "MyWorkflowDefinition";
var input = new { name = "Billy", age = 30 }; // Any JSON-serializable value is OK
// Start workflow
var startResponse = await daprClient.StartWorkflowAsync(instanceId, workflowComponentName, workflowName, input);
// Terminate workflow
await daprClient.TerminateWorkflowAsync(instanceId, workflowComponentName);
// Get workflow metadata
var getResponse = await daprClient.GetWorkflowAsync(instanceId, workflowComponentName, workflowName);
```
## Sidecar APIs ## Sidecar APIs
### Sidecar Health ### Sidecar Health
The .NET SDK provides a way to poll for the sidecar health, as well as a convenience method to wait for the sidecar to be ready. The .NET SDK provides a way to poll for the sidecar health, as well as a convenience method to wait for the sidecar to be ready.