你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ExtraParameters Struct
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.
Controls what happens if extra parameters, undefined by the REST API, are passed in the JSON request payload.
public readonly struct ExtraParameters : IEquatable<Azure.AI.Inference.ExtraParameters>
type ExtraParameters = struct
Public Structure ExtraParameters
Implements IEquatable(Of ExtraParameters)
- Inheritance
-
ExtraParameters
- Implements
Constructors
ExtraParameters(String) |
Initializes a new instance of ExtraParameters. |
Properties
Drop |
The service will ignore (drop) extra parameters in the request payload. It will only pass the known parameters to the back-end AI model. |
Error |
The service will error if it detected extra parameters in the request payload. This is the service default. |
PassThrough |
The service will pass extra parameters to the back-end AI model. |
Methods
Equals(ExtraParameters) |
Indicates whether the current object is equal to another object of the same type. |
ToString() |
Returns the fully qualified type name of this instance. |
Operators
Equality(ExtraParameters, ExtraParameters) |
Determines if two ExtraParameters values are the same. |
Implicit(String to ExtraParameters) |
Converts a String to a ExtraParameters. |
Inequality(ExtraParameters, ExtraParameters) |
Determines if two ExtraParameters values are not the same. |