Bagikan melalui


AllJoynMessageInfo 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 .

Mengekspos informasi tentang pengirim pesan yang sedang diproses.

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

AllJoynMessageInfo(String)

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 AllJoynMessageInfo yang berisi nama unik pengirim yang mengirim pesan yang sedang diproses.

Properti

SenderUniqueName

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 .

Nama bus unik pengirim pesan.

Berlaku untuk