Bagikan melalui


AllJoynProducerStoppedEventArgs Kelas

Definisi

Penting

Jenis di namespace Layanan Windows.Devices.AllJoyn tidak digunakan lagi, dan mungkin tidak tersedia di versi Windows yang akan datang. AllJoyn—disponsori oleh AllSeen Alliance—adalah penemuan sumber terbuka dan protokol komunikasi untuk skenario Internet of Things (IoT) seperti menyalakan dan mematikan lampu, serta membaca suhu. Untuk alternatif, seperti IoTivity Lite dan IoTivity, lihat situs web iotivity.org .

Berisi informasi status yang menunjukkan mengapa aplikasi Produser dihentikan.

public ref class AllJoynProducerStoppedEventArgs sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.AllJoyn.IAllJoynProducerStoppedEventArgsFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class AllJoynProducerStoppedEventArgs 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.IAllJoynProducerStoppedEventArgsFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class AllJoynProducerStoppedEventArgs 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.IAllJoynProducerStoppedEventArgsFactory, 65536, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.Deprecated("AllJoynProducerStoppedEventArgs has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
class AllJoynProducerStoppedEventArgs final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.AllJoyn.IAllJoynProducerStoppedEventArgsFactory), 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 AllJoynProducerStoppedEventArgs
[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.IAllJoynProducerStoppedEventArgsFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class AllJoynProducerStoppedEventArgs
[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.IAllJoynProducerStoppedEventArgsFactory), 65536, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.Deprecated("AllJoynProducerStoppedEventArgs has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
public sealed class AllJoynProducerStoppedEventArgs
function AllJoynProducerStoppedEventArgs(status)
Public NotInheritable Class AllJoynProducerStoppedEventArgs
Warisan
Object Platform::Object IInspectable AllJoynProducerStoppedEventArgs
Atribut

Persyaratan Windows

Rangkaian perangkat
Windows 10 (diperkenalkan dalam 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v1.0)
Kemampuan aplikasi
allJoyn

Konstruktor

AllJoynProducerStoppedEventArgs(Int32)

Penting

Jenis di namespace Layanan Windows.Devices.AllJoyn tidak digunakan lagi, dan mungkin tidak tersedia di versi Windows yang akan datang. AllJoyn—disponsori oleh AllSeen Alliance—adalah penemuan sumber terbuka dan protokol komunikasi untuk skenario Internet of Things (IoT) seperti menyalakan dan mematikan lampu, serta membaca suhu. Untuk alternatif, seperti IoTivity Lite dan IoTivity, lihat situs web iotivity.org .

Menghasilkan objek yang berisi informasi status untuk aplikasi Produser yang dihentikan.

Properti

Status

Penting

Jenis di namespace Layanan Windows.Devices.AllJoyn tidak digunakan lagi, dan mungkin tidak tersedia di versi Windows yang akan datang. AllJoyn—disponsori oleh AllSeen Alliance—adalah penemuan sumber terbuka dan protokol komunikasi untuk skenario Internet of Things (IoT) seperti menyalakan dan mematikan lampu, serta membaca suhu. Untuk alternatif, seperti IoTivity Lite dan IoTivity, lihat situs web iotivity.org .

Mengembalikan kode status AllJoyn yang menunjukkan mengapa Produser dihentikan. Nilai umum didefinisikan oleh AllJoynStatus.

Berlaku untuk