ArmMachineLearningComputeModelFactory.ErrorDetail(String, String) Method
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.
Initializes a new instance of ErrorDetail.
public static Azure.ResourceManager.MachineLearningCompute.Models.ErrorDetail ErrorDetail (string code = default, string message = default);
static member ErrorDetail : string * string -> Azure.ResourceManager.MachineLearningCompute.Models.ErrorDetail
Public Shared Function ErrorDetail (Optional code As String = Nothing, Optional message As String = Nothing) As ErrorDetail
Parameters
- code
- String
Error code.
- message
- String
Error message.
Returns
A new ErrorDetail instance for mocking.
Exceptions
code
or message
is null.