OnRecoEvent Class

OnRecoEvent Class

Raised by:  SES
Base Class:  RecognitionCompleteEvent
Derived Classes:  ExtendableRecognitionEvent

OnRecoEvent is raised to the Trace log whenever a recognition ends in a Reco.

Note  This and all other event classes derived from RecognitionBaseEvent, are gathered only in the DetailedSRMessages category, and are intended primarily for internal use by Microsoft, to tune recognition engine effectiveness.

Note  This event is raised in the case of a speech recognition result and not in the case of a DTMF recognition result. The corresponding event for a DTMF recognition is ExtendableRecognitionEvent.

OnRecoEvent has the following properties:

Property

Type

Description

RecognitionID

String

The identifier for the recognition session. This property is consistently used across all recognition result events, SAPI and Engine events, and audio and grammar events.

GrammarData

GrammarArray

A customized array consisting of one entry for each grammar specified, including grammars referenced by this grammar, if any.

InlineGrammar

InlineGrammarArray

A customized array consisting of one entry for each inline grammar specified, including grammars referenced by this grammar, if any.

SPEventWParam

Integer

Contains encoded information within the wParam of the SAPI SPEVENT structure.

SPPhrase

ByteArray

The serialized SPPHRASE element from SAPI.

SREngine

String

The recognition engine that received the result.

RecognitionResult

String

The SML recognition result returned to SES.

See Also

Event Logging Class Hierarchy | Logging and Analyzing Events | CommonEvent