AllJoynCredentials.Timeout 属性

定义

重要

Windows.Devices.AllJoyn 命名空间中的类型已弃用,将来的 Windows 版本中可能不可用。 AllJoyn(由 AllSeen 联盟赞助)是一种开源发现和通信协议,适用于物联网 (IoT) 方案,例如打开和关闭灯以及读取温度。 有关 IoTivity LiteIoTivity 等替代项,请参阅 iotivity.org 网站。

提供的凭据过期之前的时间段。

public:
 property TimeSpan Timeout { TimeSpan get(); void set(TimeSpan value); };
TimeSpan Timeout();

void Timeout(TimeSpan value);
/// [get: Windows.Foundation.Metadata.Deprecated("AllJoynCredentials has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("AllJoynCredentials has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
TimeSpan Timeout();

void Timeout(TimeSpan value);
public System.TimeSpan Timeout { get; set; }
public System.TimeSpan Timeout { [Windows.Foundation.Metadata.Deprecated("AllJoynCredentials has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")] get; [Windows.Foundation.Metadata.Deprecated("AllJoynCredentials has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")] set; }
var timeSpan = allJoynCredentials.timeout;
allJoynCredentials.timeout = timeSpan;
Public Property Timeout As TimeSpan

属性值

过期时间。

属性

Windows 要求

应用功能
allJoyn

适用于