共用方式為


NetworkNotAvailableException Class

Exception thrown if no network is available. This can occur on a gaming machine if the network cable is unplugged, or on Zune if wireless is disabled.

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

Syntax

[SerializableAttribute]
public class NetworkNotAvailableException : NetworkException

See Also

Reference

NetworkNotAvailableException Members
Microsoft.Xna.Framework.Net Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista, Zune