The Windows Live Messenger Web Toolkit is built using the ASP.NET Ajax Library. ASP.NET Ajax exposes a type system that enables you to add object-oriented capabilities to your JavaScript code. To learn more about creating, instantiating and deriving from classes, visit Creating Custom Client Script by Using the ASP.NET Ajax Library.
Microsoft.Live.Messenger.User = function(); Type.registerClass( 'Microsoft.Live.Messenger.User', null, Microsoft.Live.Messenger.INotifyPropertyChanged, Sys.IDisposable);
public class User : INotifyPropertyChanged, IDisposable
var _user = null; function authenticationCompleted(sender, e) { _user = new Microsoft.Live.Messenger.User(e.get_identity()); _user.add_signInCompleted(signInCompleted); _user.signIn(); }
Internet Explorer 8.0, Internet Explorer 7.0, Internet Explorer 6.0, Firefox 3.5, Firefox 3.0, Firefox 2.0, Firefox 1.5, Chrome 3.0, Chrome 2.0, Chrome 1.0, Safari 4.0, Safari 3.0