NetworkMachine.RemoveFromSession Method

Forcibly removes this machine from the session.

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

public void RemoveFromSession ()

Exception typeCondition
ObjectDisposedException

There are no gamers on this machine, or the gamer is no longer valid.

InvalidOperationException
  • The local NetworkMachine cannot be removed from the session.
  • This method can only be called by the session host.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

ADD
Show: