AllJoynCredentials.Timeout Property

Definition

Important

The types in the Windows.Devices.AllJoyn namespace are deprecated, and might not be available in future versions of Windows. AllJoyn—sponsored by AllSeen Alliance—was an open-source discovery and communication protocol for Internet of Things (IoT) scenarios such as turning lights on and off, and reading temperatures. For alternatives, such as IoTivity Lite and IoTivity, refer to the iotivity.org website.

The period of time before provided credentials expire.

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

Property Value

The expiration time.

Attributes

Windows requirements

App capabilities
allJoyn

Applies to