Export (0) Print
Expand All

ApplicationMessage Constructor

Ff751559.note(en-us,MSDN.10).gifNote:
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.

Initializes a new ApplicationMessage instance.

Script:  http://js.live.net/4.1/loader.js
Feature:  Messenger.Core
Namespace:  Microsoft.Live.Messenger.Messaging
 

var instance = new Microsoft.Live.Messenger.Messaging.ApplicationMessage();

This example demonstrates creating an instance of the ApplicationMessage class.

            // Application Message Class
            _myApplicationMessage = function _myApplicationMessage(str) {
                _myApplicationMessage.constructBase(this);
                this.myString = str;
            }
            _myApplicationMessage.prototype = {
                myString: null,
                
                get_id: function get_id() {
                    return _myApplicationMessage.Id;
                },
                
                get_myString: function get_myString() {
                    return this.myString;
                }
            }
            _myApplicationMessage.Id = 'msgid';
            // Application Message class instance.
            _myApplicationMessage.createClass('_myApplicationMessage', Microsoft.Live.Messenger.Messaging.ApplicationMessage);
            

Windows Live Messenger Connect

Supported in: 4.1

Windows Live Messenger Web Toolkit

Supported in: 3.7, 3.5, 3.1, 3.0, 2.5, 2.0, 1.0

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

Show:
© 2015 Microsoft