Export (0) Print
Expand All

ApplicationLoadCompleted Delegate

Ff750187.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.

Delegate that is invoked when the application load has completed and the application environment is initialized.

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

function applicationLoadCompleted(eventArgs) {

}

Parameters

eventArgs
Type: Microsoft.Live..::.ApplicationLoadCompletedEventArgs

The event arguments that are passed after the application is loaded.

When ApplicationLoadCompleted is fired, the Microsoft.Live.ApplicationLoadCompletedEventArgs parameter that is passed contains a reference to the application's initialized Microsoft.Live.IDataContext.

The following example shows how to use ApplicationLoadCompleted.

function appOnload(evtArgs) {
    appContext = evtArgs.get_dataContext();
    auth = Microsoft.Live.App.get_auth();
    Sys.Debug.trace("The application has successfully loaded.");
}

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

Show:
© 2014 Microsoft