SignedInGamerExtensions.BeginAwardAvatarAssets Method
Begins the asyncronous process of awarding the specified avatar assets to a signed in gamer.
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function BeginAwardAvatarAssets ( _
gamer As SignedInGamer, _
assetKeys As String(), _
callback As AsyncCallback, _
state As Object _
) As IAsyncResult
[ExtensionAttribute]
public static IAsyncResult BeginAwardAvatarAssets (
SignedInGamer gamer,
string[] assetKeys,
AsyncCallback callback,
Object state
)
[ExtensionAttribute]
public:
static IAsyncResult BeginAwardAvatarAssets(
SignedInGamer gamer,
String assetKeys[],
AsyncCallback callback,
Object state
)
Parameters
- gamer
Type: SignedInGamer
A signed in gamer. - assetKeys
Type: String
Avatar asset keys. - callback
Type: AsyncCallback
An AsyncCallback that represents the method called when the operation is complete. - state
Type: Object
A user-created object used to uniquely identify the request, or null.
Return Value
Type: IAsyncResult
The IAsyncResult used to determine when the asynchronous request is finished.
Remarks
Warning
This method retrieves a calculated result only for titles approved to access Xbox LIVE Services through the Xbox LIVE Registered Developer Program. For Xbox LIVE Indie games, this method returns immediately with a predetermined default value.
Requirements
Namespace: Microsoft.Xna.Framework.GamerServices
Assembly: Microsoft.Xna.Framework.GamerServices (in microsoft.xna.framework.gamerservices.dll)
See Also
Reference
SignedInGamerExtensions Class
SignedInGamerExtensions Members
Microsoft.Xna.Framework.GamerServices Namespace
Platforms
Windows Phone