AIProjectsModelFactory.RunStepError(RunStepErrorCode, 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 RunStepError.
public static Azure.AI.Projects.RunStepError RunStepError(Azure.AI.Projects.RunStepErrorCode code = default, string message = default);
static member RunStepError : Azure.AI.Projects.RunStepErrorCode * string -> Azure.AI.Projects.RunStepError
Public Shared Function RunStepError (Optional code As RunStepErrorCode = Nothing, Optional message As String = Nothing) As RunStepError
Parameters
- code
- RunStepErrorCode
The error code for this error.
- message
- String
The human-readable text associated with this error.
Returns
A new RunStepError instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET