AllJoynSessionLostEventArgs(AllJoynSessionLostReason) 构造函数

定义

生成 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

适用于