Platform SDK: Web Telephony Engine

WTEApplication.InvalidKeyAnnouncement Property

The InvalidKeyAnnouncement property sets or retrieves the wave file or text for the WTE to play when the caller presses a key that is not a valid selection.

Syntax

WTEApplication.InvalidKeyAnnouncement [ = sNameOrText

Possible Values

sNameOrText
String specifying either the name of a wave file or the actual text to play. Use the following format to specify a wave file: URL("filename.wav"). If the format is different, the WTE assumes that the string contains text to be played using a TTS engine.

This property is read-write.

Remarks

The announcement is played only if the default action is not canceled.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Header: Declared in Mswtecom.idl and Mswtecom.h.
  Library: Use Mswtecom.lib.

See Also

WTEApplication