OutputItemMessageBuilder.AddRefusalContent Method
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.
Creates a refusal content part scope with the next content index. The builder is auto-tracked for inclusion in EmitDone().
public virtual Azure.AI.AgentServer.Responses.RefusalContentBuilder AddRefusalContent();
abstract member AddRefusalContent : unit -> Azure.AI.AgentServer.Responses.RefusalContentBuilder
override this.AddRefusalContent : unit -> Azure.AI.AgentServer.Responses.RefusalContentBuilder
Public Overridable Function AddRefusalContent () As RefusalContentBuilder
Returns
A new RefusalContentBuilder for the refusal content part.