AllJoynWatcherStoppedEventArgs(Int32) Constructor

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.

Generates an AllJoynWatcherStoppedEventArgs object that contains status information that identifies the reason the watcher object was stopped.

public:
 AllJoynWatcherStoppedEventArgs(int status);
 AllJoynWatcherStoppedEventArgs(int const& status);
/// [Windows.Foundation.Metadata.Deprecated("AllJoynWatcherStoppedEventArgs has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
 AllJoynWatcherStoppedEventArgs(int const& status);
public AllJoynWatcherStoppedEventArgs(int status);
[Windows.Foundation.Metadata.Deprecated("AllJoynWatcherStoppedEventArgs has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
public AllJoynWatcherStoppedEventArgs(int status);
function AllJoynWatcherStoppedEventArgs(status)
Public Sub New (status As Integer)

Parameters

status
Int32

int

The AllJoyn status code.

Attributes

Windows requirements

App capabilities
allJoyn

Applies to