Share via


AllJoynWatcherStoppedEventArgs Classe

Définition

Important

Les types de l’espace de noms Windows.Devices.AllJoyn sont déconseillés et peuvent ne pas être disponibles dans les versions ultérieures de Windows. AllJoyn, parrainé par AllSeen Alliance, était un protocole de découverte et de communication open source pour les scénarios IoT (Internet of Things), tels que l’activation et l’arrêt des lumières et la lecture des températures. Pour des alternatives, telles qu’IoTivity Lite et IoTivity, reportez-vous au iotivity.org site web.

Contient des informations sur l’objet observateur de session arrêté.

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
Héritage
Object Platform::Object IInspectable AllJoynWatcherStoppedEventArgs
Attributs

Configuration requise pour Windows

Famille d’appareils
Windows 10 (introduit dans 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduit dans v1.0)
Fonctionnalités de l’application
allJoyn

Constructeurs

AllJoynWatcherStoppedEventArgs(Int32)

Important

Les types de l’espace de noms Windows.Devices.AllJoyn sont déconseillés et peuvent ne pas être disponibles dans les versions ultérieures de Windows. AllJoyn, parrainé par AllSeen Alliance, était un protocole de découverte et de communication open source pour les scénarios IoT (Internet of Things), tels que l’activation et l’arrêt des lumières et la lecture des températures. Pour des alternatives, telles qu’IoTivity Lite et IoTivity, reportez-vous au iotivity.org site web.

Génère un objet AllJoynWatcherStoppedEventArgs qui contient status informations qui identifient la raison pour laquelle l’objet watcher a été arrêté.

Propriétés

Status

Important

Les types de l’espace de noms Windows.Devices.AllJoyn sont déconseillés et peuvent ne pas être disponibles dans les versions ultérieures de Windows. AllJoyn, parrainé par AllSeen Alliance, était un protocole de découverte et de communication open source pour les scénarios IoT (Internet of Things), tels que l’activation et l’arrêt des lumières et la lecture des températures. Pour des alternatives, telles qu’IoTivity Lite et IoTivity, reportez-vous au iotivity.org site web.

Retourne un code status qui a été retourné lorsque l’objet observateur est arrêté. Cette valeur est représentée par AllJoynStatus.

S’applique à