你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmQuotaModelFactory.ServiceErrorDetail(String, String) 方法

定义

初始化 ServiceErrorDetail 的新实例。

public static Azure.ResourceManager.Quota.Models.ServiceErrorDetail ServiceErrorDetail (string code = default, string message = default);
static member ServiceErrorDetail : string * string -> Azure.ResourceManager.Quota.Models.ServiceErrorDetail
Public Shared Function ServiceErrorDetail (Optional code As String = Nothing, Optional message As String = Nothing) As ServiceErrorDetail

参数

code
String

错误代码。

message
String

错误消息。

返回

用于模拟的新 ServiceErrorDetail 实例。

适用于