AllJoynAcceptSessionJoinerEventArgs Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 object containing information about the connection being accepted to the session and the method that completes the session join.
public:
AllJoynAcceptSessionJoinerEventArgs(Platform::String ^ uniqueName, unsigned short sessionPort, AllJoynTrafficType trafficType, byte proximity, IAllJoynAcceptSessionJoiner ^ acceptSessionJoiner);
AllJoynAcceptSessionJoinerEventArgs(winrt::hstring const& uniqueName, uint16_t const& sessionPort, AllJoynTrafficType const& trafficType, byte const& proximity, IAllJoynAcceptSessionJoiner const& acceptSessionJoiner);
/// [Windows.Foundation.Metadata.Deprecated("AllJoynAcceptSessionJoinerEventArgs has been deprecated. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
AllJoynAcceptSessionJoinerEventArgs(winrt::hstring const& uniqueName, uint16_t const& sessionPort, AllJoynTrafficType const& trafficType, byte const& proximity, IAllJoynAcceptSessionJoiner const& acceptSessionJoiner);
public AllJoynAcceptSessionJoinerEventArgs(string uniqueName, ushort sessionPort, AllJoynTrafficType trafficType, byte proximity, IAllJoynAcceptSessionJoiner acceptSessionJoiner);
[Windows.Foundation.Metadata.Deprecated("AllJoynAcceptSessionJoinerEventArgs has been deprecated. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
public AllJoynAcceptSessionJoinerEventArgs(string uniqueName, ushort sessionPort, AllJoynTrafficType trafficType, byte proximity, IAllJoynAcceptSessionJoiner acceptSessionJoiner);
function AllJoynAcceptSessionJoinerEventArgs(uniqueName, sessionPort, trafficType, proximity, acceptSessionJoiner)
Public Sub New (uniqueName As String, sessionPort As UShort, trafficType As AllJoynTrafficType, proximity As Byte, acceptSessionJoiner As IAllJoynAcceptSessionJoiner)
Parameters
- uniqueName
-
String
Platform::String
winrt::hstring
The unique bus name.
- sessionPort
-
UInt16
unsigned short
uint16_t
The session port used for the connection.
- trafficType
- AllJoynTrafficType
The type of traffic provided over the connection.
- proximity
-
Byte
byte
Indicates network proximity.
- acceptSessionJoiner
- IAllJoynAcceptSessionJoiner
The IAllJoynAcceptSessionJoiner object used to complete the session join.
- Attributes
Windows requirements
App capabilities |
allJoyn
|