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

ArmComputeFleetModelFactory.ComputeFleetApiErrorInfo Method

Definition

Initializes a new instance of ComputeFleetApiErrorInfo.

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

Parameters

code
String

The error code.

target
String

The target of the particular error.

message
String

The error message.

Returns

A new ComputeFleetApiErrorInfo instance for mocking.

Applies to