你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PersonalizerError 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
PersonalizerError() |
初始化 PersonalizerError 类的新实例。 |
PersonalizerError(String, String, String, IList<PersonalizerError>, InternalError) |
初始化 PersonalizerError 类的新实例。 |
PersonalizerError()
初始化 PersonalizerError 类的新实例。
public PersonalizerError ();
Public Sub New ()
适用于
PersonalizerError(String, String, String, IList<PersonalizerError>, InternalError)
初始化 PersonalizerError 类的新实例。
public PersonalizerError (string code, string message, string target = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Personalizer.Models.PersonalizerError> details = default, Microsoft.Azure.CognitiveServices.Personalizer.Models.InternalError innerError = default);
new Microsoft.Azure.CognitiveServices.Personalizer.Models.PersonalizerError : string * string * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Personalizer.Models.PersonalizerError> * Microsoft.Azure.CognitiveServices.Personalizer.Models.InternalError -> Microsoft.Azure.CognitiveServices.Personalizer.Models.PersonalizerError
Public Sub New (code As String, message As String, Optional target As String = Nothing, Optional details As IList(Of PersonalizerError) = Nothing, Optional innerError As InternalError = Nothing)
参数
- code
- String
高级错误代码。 可能的值包括:“BadRequest”、“ResourceNotFound”、“InternalServerError”
- message
- String
解释服务报告的错误的消息。
- target
- String
错误源元素。
- details
- IList<PersonalizerError>
有关导致此项报告错误的特定错误的详细信息数组。
- innerError
- InternalError
更精细的错误详细信息。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈