Share via


AllJoynAboutDataView.Status 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 status returned by the GetDataBySessionPortAsync operation that created the AllJoynAboutDataView object.

public:
 property int Status { int get(); };
int Status();
/// [get: Windows.Foundation.Metadata.Deprecated("AllJoynAboutDataView has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
int Status();
public int Status { get; }
public int Status { [Windows.Foundation.Metadata.Deprecated("AllJoynAboutDataView has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")] get; }
var int32 = allJoynAboutDataView.status;
Public ReadOnly Property Status As Integer

Property Value

Int32

int

The status code.

Attributes

Windows requirements

App capabilities
allJoyn

Remarks

If the returned value is an error, (i.e. anything other than Ok), it can mean that the other properties aren’t populated, opposed to being populated with actual values that might happen to be empty.

Applies to