次の方法で共有


NetworkSession.BeginFind Method

Starts a matchmaking query to search for available multiplayer sessions. Call EndFind to access the results of this asynchronous call.

Overload List

Name Description
NetworkSession.BeginFind (NetworkSessionType, Generic IEnumerable, NetworkSessionProperties, AsyncCallback, Object) Starts a matchmaking query to search for available multiplayer sessions, specifying a collection of local gamers to add to the network session.
NetworkSession.BeginFind (NetworkSessionType, Int32, NetworkSessionProperties, AsyncCallback, Object) Starts a matchmaking query to search for available multiplayer sessions.

Exceptions

Exception type Condition
ArgumentException BeginFind cannot be used from NetworkSession objects of session type NetworkSessionType.Local.
ArgumentOutOfRangeException maxLocalGamers must be between 1 and 4.

See Also

Reference

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