passing arguments for LiveConnectClient() RRS feed

  • Question

  • To connect to skydrive and upload files i am using this line as a part of my code..

     LiveConnectClient liveClient = new LiveConnectClient(this.session);

    I get error in "session" saying that page does not contain a definition for session.

    Any help pls...

    Thanks in advance.

    Monday, August 19, 2013 7:51 PM


  • That error suggests that you haven't defined the "session" variable in the class you are using. You cannot reference the variable this.session unless the class you are referencing that variable in defines the session variable.

    You need to define a variable session of type LiveConnectSession and initialize it with the needed session information before passing it to the LiveConnectClient constructor.

    This is just general programming: if you need help specifically with LiveConnect then please post in the LiveConnect forums.


    Monday, August 19, 2013 10:03 PM