共用方式為


NetworkSession.BeginJoinInvited Method

Starts joining an existing network session in response to an InviteAccepted notification event. Call EndJoinInvited to access the asynchronous method results.

Overload List

Name Description
NetworkSession.BeginJoinInvited (Generic IEnumerable, AsyncCallback, Object) Starts joining an existing network session in response to an InviteAccepted notification event with the specified collection of local gamers.
NetworkSession.BeginJoinInvited (Int32, AsyncCallback, Object) Starts joining an existing network session in response to an InviteAccepted notification event.

Remarks

Note

When someone accepts an invitation for Xbox LIVE Community Games, but the game is not installed already on his or her computer, the invited player will be taken to the game offer. The offer enables the invited player to download the game and accept the invitation to start the game.

For creator games still waiting to pass peer review, the game invitation will be sent over the Xbox LIVE service to the other player. If the game is not installed the invited player will be prompted with a message indicating that he or she can get the game from the game creator.

See Also

Reference

NetworkSession Class
NetworkSession Members
Microsoft.Xna.Framework.Net Namespace