RecognizerContextRecognitionWithAlternatesEventArgs.RecognizerContextRecognitionWithAlternatesEventArgs Constructor
RecognizerContextRecognitionWithAlternatesEventArgs.RecognizerContextRecognitionWithAlternatesEventArgs Constructor |
Initializes a new instance of the RecognizerContextRecognitionWithAlternatesEventArgs class.
Definition
Visual Basic .NET Public Sub RecognizerContextRecognitionWithAlternatesEventArgs( _
ByVal result As RecognitionResult, _
ByVal customData As Object, _
ByVal recognitionStatus As RecognitionStatus _
)C# public RecognizerContextRecognitionWithAlternatesEventArgs(
RecognitionResult result,
object customData,
RecognitionStatus recognitionStatus
);Managed C++ public: RecognizerContextRecognitionWithAlternatesEventArgs(
RecognitionResult *result,
Object *customData,
RecognitionStatus *recognitionStatus
);
Parameters
> > >
result Microsoft.Ink.RecognitionResult. The RecognitionResult object that the recognizer returned. customData System.Object. The custom data supplied by the application. recognitionStatus Microsoft.Ink.RecognitionStatus. One of the values from the RecognitionStatus enumeration value that indicates the recognition status as of the most recent recognition result.
NoError0
Indicates no errors occurred. Interrupted1
Indicates the recognition was interrupted by a call to StopBackgroundRecognition. ProcessFailed2
Indicates the ink recognition process failed. InkAddedFailed4
Indicates the ink could not be added. SetAutoCompletionModeFailed8
Indicates the character Autocomplete mode could not be set. SetStrokesFailed16
Indicates the strokes could not be set. SetGuideFailed32
Indicates the recognition guide could not be set. SetFlagsFailed64
Indicates the flags could not be set. SetFactoidFailed128
Indicates the factoid could not be set. SetPrefixSuffixFailed256
Indicates the suffix or the prefix could not be set. SetWordListFailed512
Indicates the word list could not be set. Remarks
When you call either the BackgroundRecognize or BackgroundRecognizeWithAlternates method, you can pass in custom data that becomes the customData parameter for the RecognizerContextRecognitionWithAlternatesEventArgs constructor.
See Also