AllJoynSessionLostEventArgs.Reason 属性

定义

检索一个值,该值指示丢失会话的原因。

public:
 property AllJoynSessionLostReason Reason { AllJoynSessionLostReason get(); };
AllJoynSessionLostReason Reason();
/// [get: Windows.Foundation.Metadata.Deprecated("AllJoynSessionLostEventArgs has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
AllJoynSessionLostReason Reason();
public AllJoynSessionLostReason Reason { get; }
public AllJoynSessionLostReason Reason { [Windows.Foundation.Metadata.Deprecated("AllJoynSessionLostEventArgs has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")] get; }
var allJoynSessionLostReason = allJoynSessionLostEventArgs.reason;
Public ReadOnly Property Reason As AllJoynSessionLostReason

属性值

AllJoynSessionLostReason

会话丢失的原因。 可能的值由 AllJoynSessionLostReason 定义。

属性

Windows 要求

应用功能
allJoyn

适用于