RefusalContentBuilder Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Scoped builder for a refusal content part within a message. Owns its full
lifecycle: EmitAdded → EmitDelta (0+) → EmitRefusalDone
→ EmitDone.
public class RefusalContentBuilder
type RefusalContentBuilder = class
Public Class RefusalContentBuilder
- Inheritance
-
RefusalContentBuilder
Constructors
| Name | Description |
|---|---|
| RefusalContentBuilder() |
Initializes a new instance of RefusalContentBuilder for mocking. |
Properties
| Name | Description |
|---|---|
| ContentIndex |
The content index assigned to this refusal content part. |
| FinalRefusal |
The final refusal text set by EmitRefusalDone(String). Null if not yet finalized. |
Methods
| Name | Description |
|---|---|
| EmitAdded() |
Produces a |
| EmitDelta(String) |
Produces a |
| EmitDone() |
Produces a |
| EmitRefusalDone(String) |
Produces a |