次の方法で共有


AllJoynSessionLostEventArgs(AllJoynSessionLostReason) コンストラクター

定義

重要

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

失われたセッションの理由を識別する情報を含む AllJoynSessionLostEventArgs オブジェクトを生成します。

public:
 AllJoynSessionLostEventArgs(AllJoynSessionLostReason reason);
 AllJoynSessionLostEventArgs(AllJoynSessionLostReason const& reason);
/// [Windows.Foundation.Metadata.Deprecated("AllJoynSessionLostEventArgs has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
 AllJoynSessionLostEventArgs(AllJoynSessionLostReason const& reason);
public AllJoynSessionLostEventArgs(AllJoynSessionLostReason reason);
[Windows.Foundation.Metadata.Deprecated("AllJoynSessionLostEventArgs has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
public AllJoynSessionLostEventArgs(AllJoynSessionLostReason reason);
function AllJoynSessionLostEventArgs(reason)
Public Sub New (reason As AllJoynSessionLostReason)

パラメーター

reason
AllJoynSessionLostReason

セッションが失われた理由。

属性

Windows の要件

アプリの機能
allJoyn

適用対象