Share via


AllJoynBusAttachment.ConnectionSpecification Properti

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 .

Spesifikasi koneksi yang digunakan untuk membuat dan memelihara lampiran bus. Jika spesifikasi tidak disediakan, properti ini akan mengambil spesifikasi pipa bernama default.

public:
 property Platform::String ^ ConnectionSpecification { Platform::String ^ get(); };
winrt::hstring ConnectionSpecification();
/// [get: Windows.Foundation.Metadata.Deprecated("AllJoynBusAttachment has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
winrt::hstring ConnectionSpecification();
public string ConnectionSpecification { get; }
public string ConnectionSpecification { [Windows.Foundation.Metadata.Deprecated("AllJoynBusAttachment has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")] get; }
var string = allJoynBusAttachment.connectionSpecification;
Public ReadOnly Property ConnectionSpecification As String

Nilai Properti

String

Platform::String

winrt::hstring

Spesifikasi koneksi.

Atribut

Persyaratan Windows

Kemampuan aplikasi
allJoyn

Berlaku untuk