DeviceNetworkInformation 類別
繼承階層架構
System.Object
Microsoft.Phone.Net.NetworkInformation.DeviceNetworkInformation
命名空間: Microsoft.Phone.Net.NetworkInformation
組件: Microsoft.Phone (在 Microsoft.Phone.dll 中)
語法
'宣告
Public NotInheritable Class DeviceNetworkInformation
public static class DeviceNetworkInformation
public ref class DeviceNetworkInformation abstract sealed
[<AbstractClass>]
[<Sealed>]
type DeviceNetworkInformation = class end
DeviceNetworkInformation 類型會公開下列成員。
屬性
名稱 | 描述 | |
---|---|---|
CellularMobileOperator | ||
IsCellularDataEnabled | ||
IsCellularDataRoamingEnabled | ||
IsNetworkAvailable | ||
IsWiFiEnabled |
回頁首
方法
名稱 | 描述 | |
---|---|---|
ResolveHostNameAsync(DnsEndPoint, NameResolutionCallback, Object) | ||
ResolveHostNameAsync(DnsEndPoint, NetworkInterfaceInfo, NameResolutionCallback, Object) |
回頁首
事件
名稱 | 描述 | |
---|---|---|
NetworkAvailabilityChanged |
回頁首
版本資訊
適用於 Windows Phone 應用程式的 .NET
支援版本:Windows Phone 8、Silverlight 8.1
執行緒安全
這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。