AllJoynWatcherStoppedEventArgs(Int32) 构造函数

定义

重要

Windows.Devices.AllJoyn 命名空间中的类型已弃用,将来的 Windows 版本中可能不可用。 AllJoyn(由 AllSeen 联盟赞助)是一种开源发现和通信协议,适用于物联网 (IoT) 方案,例如打开和关闭灯以及读取温度。 有关 IoTivity LiteIoTivity 等替代项,请参阅 iotivity.org 网站。

生成一个 AllJoynWatcherStoppedEventArgs 对象,该对象包含标识观察程序对象停止原因的状态信息。

public:
 AllJoynWatcherStoppedEventArgs(int status);
 AllJoynWatcherStoppedEventArgs(int const& status);
/// [Windows.Foundation.Metadata.Deprecated("AllJoynWatcherStoppedEventArgs has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
 AllJoynWatcherStoppedEventArgs(int const& status);
public AllJoynWatcherStoppedEventArgs(int status);
[Windows.Foundation.Metadata.Deprecated("AllJoynWatcherStoppedEventArgs has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
public AllJoynWatcherStoppedEventArgs(int status);
function AllJoynWatcherStoppedEventArgs(status)
Public Sub New (status As Integer)

参数

status
Int32

int

AllJoyn 状态代码。

属性

Windows 要求

应用功能
allJoyn

适用于