Export (0) Print
Expand All

NetworkSession.EndJoinInvited Method

Gets the result from a BeginJoinInvited asynchronous call.

Namespace: Microsoft.Xna.Framework.Net
Assembly: Microsoft.Xna.Framework.Net (in microsoft.xna.framework.net.dll)

public static NetworkSession EndJoinInvited (
         IAsyncResult result
)

Parameters

result
Type: IAsyncResult
An IAsyncResult used to track the progress of the operation.

Return Value

The session being joined by the gamer.

Exception typeCondition
NetworkSessionJoinException The session either is full, is not joinable, or cannot be found.
  • If the session is full, the specified session does not have enough open slots for all the local gamers signed in to this machine.
  • If it is not joinable, you must wait for the host to return to the lobby before joining.
  • If it cannot be found, the session may have ended, or there may be no network connectivity between the local machine and session host.

See Inviting Players to Join Your Game for more information about adding game invitation support to your title.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

ADD
Show:
© 2014 Microsoft