Gamer.BeginGetProfile Method

Starts an asynchronous profile read operation.

Syntax

'Declaration
Public Function BeginGetProfile ( _
         callback As AsyncCallback, _
         asyncState As Object _
) As IAsyncResult 
public IAsyncResult BeginGetProfile (
         AsyncCallback callback,
         Object asyncState
)
public:
IAsyncResult BeginGetProfile(
         AsyncCallback callback,
         Object asyncState
)

Parameters

  • callback
    Type: AsyncCallback
    The method to call once the asynchronous operation is finished.
  • asyncState
    Type: Object
    State of the asynchronous operation.

Return Value

Type: IAsyncResult
An IAsyncResult used to track the progress of the method. Call EndGetProfile to access these results.

Exceptions

Exception type Condition
ObjectDisposedException This object already is disposed.

Requirements

Namespace: Microsoft.Xna.Framework.GamerServices

Assembly: Microsoft.Xna.Framework.GamerServices (in microsoft.xna.framework.gamerservices.dll)

See Also

Overview

Working with Asynchronous Methods in XNA Game Studio

Reference

GetProfile
EndGetProfile
Gamer Class
Gamer Members
Microsoft.Xna.Framework.GamerServices Namespace

Platforms

Windows Phone