NetworkAvailabilityEventArgs 类

定义

NetworkAvailabilityChanged 事件提供数据。Provides data for the NetworkAvailabilityChanged event.

public ref class NetworkAvailabilityEventArgs : EventArgs
public class NetworkAvailabilityEventArgs : EventArgs
type NetworkAvailabilityEventArgs = class
    inherit EventArgs
Public Class NetworkAvailabilityEventArgs
Inherits EventArgs
继承
NetworkAvailabilityEventArgs

注解

此类的实例将传递给NetworkAvailabilityChangedEventHandler在网络状态更改时调用的方法。Instances of this class are passed to a NetworkAvailabilityChangedEventHandler method that is called when the status of the network changes.

属性

IsAvailable

获取网络连接的当前状态。Gets the current status of the network connection.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于