AIProjectsModelFactory.RunError(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 RunError.
public static Azure.AI.Projects.RunError RunError (string code = default, string message = default);
static member RunError : string * string -> Azure.AI.Projects.RunError
Public Shared Function RunError (Optional code As String = Nothing, Optional message As String = Nothing) As RunError
Parameters
- code
- String
The status for the error.
- message
- String
The human-readable text associated with the error.
Returns
A new RunError instance for mocking.
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Azure SDK for .NET