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)

Syntax

public void RemoveFromSession ()

Exceptions

Exception type Condition
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.

See Also

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP