IOnlineStatus IOnlineStatus IOnlineStatus IOnlineStatus Interface

定义

定义具有网络功能的对象所使用的属性和事件以指示网络可用性。Defines the properties and events used by network-enabled objects to indicate network availability.

public interface class IOnlineStatus
public interface IOnlineStatus
type IOnlineStatus = interface
Public Interface IOnlineStatus
派生

注解

当类需要指示其实例对其他 ServiceModel 对象的网络可用性时,会实现此接口。This interface is implemented when a class needs to indicate the network availability of its instances to other ServiceModel objects.

属性

IsOnline IsOnline IsOnline IsOnline

获取一个值,它指示实例是否具有网络连接并已连接到资源。Gets a value that indicates whether the instance has network connectivity and is connected to a resource.

事件

Offline Offline Offline Offline

用信号通知实例已与网络资源断开连接。Signals that the instance has disconnected from a network resource.

Online Online Online Online

用信号通知实例已连接到网络资源。Signals that the instance has connected to a network resource.

适用于