信息
您所需的主题如下所示。但此主题未包含在此库中。

Microsoft.Live namespace

Contains classes that simplify access to OAuth authentication, user session data, and the REST API.

Note  All of the following members apply to both Windows Store app and Windows Phone unless otherwise noted.

Members

The Microsoft.Live namespace has these types of members:

Classes

The Microsoft.Live namespace has these classes.

ClassDescription
LiveAuthClient Used to retrieve session data from a service using Microsoft account.
LiveAuthException Used to indicate when an exception has occurred during the Auth process.
LiveConnectClient Exposes the primary functionality of the Microsoft account service endpoints, and manages token expiry.
LiveConnectException Used to indicate when an exception has occurred during the connection process.
LiveConnectSession Used to access the current session.
LiveDownloadCompletedEventArgs Raised when a file download operation is completed. [Windows Phone only]
LiveDownloadOperation Contains information about file downloads.
LiveDownloadOperationResult Represents the results of a file download operation.
LiveDownloadProgressChangedEventArgs Raised every time a chunk of data is downloaded during a download operation. [Windows Phone only]
LiveLoginResult Represents a live login.
LiveOperationCompletedEventArgs Contains event arguments for the events raised when an operation is completed. [Windows Phone only]
LiveOperationProgress Represents the progress of a file upload or download request. [Windows Store app only]
LiveOperationResult Represents the result of the operation.
LiveUploadOperation Contains information about file uploads.
LiveUploadProgressChangedEventArgs Raised every time a chunk of data is uploaded during an upload operation. [Windows Phone only]
LoginCompletedEventArgs Contains event arguments for the events raised when login is completed. [Windows Phone only]

 

Enumerations

The Microsoft.Live namespace has these enumerations.

EnumerationDescription
BackgroundTransferPreferences Describes the settings for performing data transfers in the background with the LiveConnectClient.BackgroundDownloadAsync and LiveConnectClient.BackgroundUploadAsync methods. [Windows Phone only]
LiveConnectSessionStatus Indicates the status of the session.
OverwriteOption Indicates whether an incoming file that's being uploaded to Microsoft OneDrive should overwrite an existing file with the same file name in that location.
ThemeType Specifies the theme type. [Windows Store app only]

 

Requirements

Namespace

Microsoft.Live

Assembly

Microsoft.Live.dll

 

 

显示:
© 2014 Microsoft