Partager via


ITelephonySession.SendMessageAsync Method (MessageType, ContentType, Byte[], Generic IEnumerable)

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Sends a signaling message over the telephony session.

Namespace: Microsoft.SpeechServer
Assembly: Microsoft.SpeechServer (in microsoft.speechserver.dll)

Syntax

'Declaration
Sub SendMessageAsync ( _
    messageType As MessageType, _
    contentType As ContentType, _
    body As Byte(), _
    headers As IEnumerable(Of Header) _
)
void SendMessageAsync (
    MessageType messageType,
    ContentType contentType,
    byte[] body,
    IEnumerable<Header> headers
)

Parameters

  • messageType
    A MessageType object that indicates the message type.
  • contentType
    A ContentType object that indicates the content type.
  • body
    The body of the message.
  • headers
    An optional parameter that can be used to set custom headers on the message.

Thread Safety

All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

Windows Server 2003

See Also

Reference

ITelephonySession Interface
ITelephonySession Members
Microsoft.SpeechServer Namespace