Microsoft.Xna.Framework.Net Namespace
Contains classes that implement support for Xbox LIVE, multiplayer, and networking for XNA Framework games.
Classes
Name | Description | |
---|---|---|
AvailableNetworkSession | Describes a multiplayer session that can be joined. | |
AvailableNetworkSessionCollection | Represents a collection of sessions available for joining. | |
GameEndedEventArgs | Represents the arguments passed to a GameEnded event. | |
GamerJoinedEventArgs | Represents the arguments passed to a GamerJoined event. | |
GamerLeftEventArgs | Represents the arguments passed to a GamerLeft event. | |
GameStartedEventArgs | Represents the arguments passed to a GameStarted event. | |
HostChangedEventArgs | Represents the arguments passed to a HostChanged event. | |
InviteAcceptedEventArgs | Represents the arguments passed to a InviteAccepted event. | |
LocalNetworkGamer | Represents a local player in a network session. | |
NetworkException | Thrown if there is a network communication failure. | |
NetworkGamer | Represents a player in a network session. | |
NetworkMachine | Represents a physical machine (such as single Xbox 360 console or Windows-based computer) that is participating in a multiplayer session. It can be used to detect when more than one NetworkGamer is playing on the same actual machine. | |
NetworkNotAvailableException | Exception thrown if no network is available. | |
NetworkSession | Represents a multiplayer game session. | |
NetworkSessionEndedEventArgs | Represents the arguments passed to a SessionEnded event. These arguments are passed to event handlers when a session ends. | |
NetworkSessionJoinException | Thrown if an error was encountered while joining a session. | |
NetworkSessionProperties | Describes custom, game-specific information about a NetworkSession object. | |
PacketReader | Provides common functionality for efficiently reading incoming network packets. | |
PacketWriter | Provides common functionality for efficiently formatting outgoing network packets. | |
QualityOfService | Describes the quality of the network connection between this machine and the host of a multiplayer session that was discovered with a matchmaking query. |
Enumerations
Name | Description | |
---|---|---|
NetworkSessionEndReason | Defines the reason a session ended. | |
NetworkSessionJoinError | Contains additional data about a NetworkSessionJoinException. | |
NetworkSessionState | Defines the different states of a multiplayer session. | |
NetworkSessionType | Defines the different types of a multiplayer session. | |
SendDataOptions | Defines options for network packet transmission. |
Remarks
Important
Games for Windows - LIVE is not available to finished games. This functionality is not included in the redistributable version of the XNA Framework, and a game that attempts to use these components without XNA Game Studio installed will result in a GamerServicesNotAvailableException.
See Also
Concepts
Getting Started With Networked Games
Networking Content Catalog at XNA Creators Club Online