AllJoynWatcherStoppedEventArgs 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重要
Windows.Devices.AllJoyn 命名空间中的类型已弃用,将来的 Windows 版本中可能不可用。 AllJoyn(由 AllSeen 联盟赞助)是一种开源发现和通信协议,适用于物联网 (IoT) 方案,例如打开和关闭灯以及读取温度。 有关 IoTivity Lite 和 IoTivity 等替代项,请参阅 iotivity.org 网站。
包含有关已停止的会话观察程序对象的信息。
public ref class AllJoynWatcherStoppedEventArgs sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.AllJoyn.IAllJoynWatcherStoppedEventArgsFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class AllJoynWatcherStoppedEventArgs final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.AllJoyn.IAllJoynWatcherStoppedEventArgsFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class AllJoynWatcherStoppedEventArgs final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.AllJoyn.IAllJoynWatcherStoppedEventArgsFactory, 65536, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.Deprecated("AllJoynWatcherStoppedEventArgs has been deprecated. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
class AllJoynWatcherStoppedEventArgs final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.AllJoyn.IAllJoynWatcherStoppedEventArgsFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class AllJoynWatcherStoppedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.AllJoyn.IAllJoynWatcherStoppedEventArgsFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class AllJoynWatcherStoppedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.AllJoyn.IAllJoynWatcherStoppedEventArgsFactory), 65536, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.Deprecated("AllJoynWatcherStoppedEventArgs has been deprecated. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
public sealed class AllJoynWatcherStoppedEventArgs
function AllJoynWatcherStoppedEventArgs(status)
Public NotInheritable Class AllJoynWatcherStoppedEventArgs
- 继承
- 属性
Windows 要求
设备系列 |
Windows 10 (在 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 中引入)
|
API contract |
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)
|
应用功能 |
allJoyn
|
构造函数
AllJoynWatcherStoppedEventArgs(Int32) |
重要 Windows.Devices.AllJoyn 命名空间中的类型已弃用,将来的 Windows 版本中可能不可用。 AllJoyn(由 AllSeen 联盟赞助)是一种开源发现和通信协议,适用于物联网 (IoT) 方案,例如打开和关闭灯以及读取温度。 有关 IoTivity Lite 和 IoTivity 等替代项,请参阅 iotivity.org 网站。 生成一个 AllJoynWatcherStoppedEventArgs 对象,该对象包含标识观察程序对象停止原因的状态信息。 |
属性
Status |
重要 Windows.Devices.AllJoyn 命名空间中的类型已弃用,将来的 Windows 版本中可能不可用。 AllJoyn(由 AllSeen 联盟赞助)是一种开源发现和通信协议,适用于物联网 (IoT) 方案,例如打开和关闭灯以及读取温度。 有关 IoTivity Lite 和 IoTivity 等替代项,请参阅 iotivity.org 网站。 返回停止观察程序对象时返回的状态代码。 此值由 AllJoynStatus 表示。 |