createTextElement Method

Current information about Live Connect is now available in the Windows Live Developer Center. The information in the following sections is provided for legacy purposes only.

Creates a DOM element containing the contents of the application message.

Feature:  Messenger.Core
Namespace:  Microsoft.Live.Messenger.Messaging

var element = instance.createTextElement();

This method can be used by applications that extend the ApplicationMessage class to render information about the message. This method will be automatically invoked by the appropriate UI controls to display such messages.

Overriding this method is functionally the same as providing a callback to the factory by using onMessageRendered(ApplicationMessageRenderedCallback).

By default this method returns null.

Windows Live Messenger Connect

Supported in: 4.1

Internet Explorer 8.0, Internet Explorer 7.0, Internet Explorer 6.0, Firefox 3.6, Firefox 3.5, Firefox 3.0, Firefox 2.0, Firefox 1.5, Chrome 4.0, Chrome 3.0, Chrome 2.0, Chrome 1.0, Safari 4.0, Safari 3.0, Opera 10.5