ItemContentRefusal Constructors
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.
Overloads
| Name | Description |
|---|---|
| ItemContentRefusal() |
Initializes a new instance of ItemContentRefusal for deserialization. |
| ItemContentRefusal(String) |
Initializes a new instance of ItemContentRefusal. |
| ItemContentRefusal(ItemContentType, IDictionary<String,BinaryData>, String) |
Initializes a new instance of ItemContentRefusal. |
ItemContentRefusal()
- Source:
- ItemContentRefusal.cs
Initializes a new instance of ItemContentRefusal for deserialization.
public ItemContentRefusal();
Public Sub New ()
Applies to
ItemContentRefusal(String)
- Source:
- ItemContentRefusal.cs
Initializes a new instance of ItemContentRefusal.
public ItemContentRefusal(string refusal);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContentRefusal : string -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContentRefusal
Public Sub New (refusal As String)
Parameters
- refusal
- String
The refusal explanationfrom the model.
Exceptions
refusal is null.
Applies to
ItemContentRefusal(ItemContentType, IDictionary<String,BinaryData>, String)
- Source:
- ItemContentRefusal.cs
Initializes a new instance of ItemContentRefusal.
public ItemContentRefusal(Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContentType type, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData, string refusal);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContentRefusal : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContentType * System.Collections.Generic.IDictionary<string, BinaryData> * string -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContentRefusal
Public Sub New (type As ItemContentType, serializedAdditionalRawData As IDictionary(Of String, BinaryData), refusal As String)
Parameters
- type
- ItemContentType
- serializedAdditionalRawData
- IDictionary<String,BinaryData>
Keeps track of any properties unknown to the library.
- refusal
- String
The refusal explanationfrom the model.