FormRecognizerModelFactory.FormRecognizerError(String, String) Method

Definition

Initializes a new instance of the FormRecognizerError class.

public static Azure.AI.FormRecognizer.Models.FormRecognizerError FormRecognizerError (string errorCode, string message);
static member FormRecognizerError : string * string -> Azure.AI.FormRecognizer.Models.FormRecognizerError
Public Shared Function FormRecognizerError (errorCode As String, message As String) As FormRecognizerError

Parameters

errorCode
System.String

The error code.

message
System.String

The error message.

Returns

FormRecognizerError

A new FormRecognizerError instance for mocking.

Applies to