AllJoynBusAttachment.PingAsync(String) メソッド

定義

重要

Windows.Devices.AllJoyn 名前空間の型は非推奨となり、将来のバージョンの Windows では使用できない可能性があります。 AllSeen Alliance が主催する AllJoyn は、照明のオンとオフ、温度の読み取りなどのモノのインターネット (IoT) シナリオ向けのオープンソースの検出と通信プロトコルでした。 IoTivity LiteIoTivity などの代替手段については、iotivity.org Web サイトを参照してください。

指定した接続に非同期的に ping を実行します。

public:
 virtual IAsyncOperation<int> ^ PingAsync(Platform::String ^ uniqueName) = PingAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<int> PingAsync(winrt::hstring const& uniqueName);
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("AllJoynBusAttachment has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
IAsyncOperation<int> PingAsync(winrt::hstring const& uniqueName);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<int> PingAsync(string uniqueName);
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("AllJoynBusAttachment has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
public IAsyncOperation<int> PingAsync(string uniqueName);
function pingAsync(uniqueName)
Public Function PingAsync (uniqueName As String) As IAsyncOperation(Of Integer)

パラメーター

uniqueName
String

Platform::String

winrt::hstring

接続に関連付けられている一意の名前。

戻り値

AllJoyn 状態コード。

属性

Windows の要件

アプリの機能
allJoyn

適用対象