Freigeben über


AllJoynAcceptSessionJoinerEventArgs Konstruktor

Definition

Wichtig

Die Typen im Windows.Devices.AllJoyn-Namespace sind veraltet und in zukünftigen Versionen von Windows möglicherweise nicht verfügbar. AllJoyn – gesponsert von AllSeen Alliance – war ein Open-Source-Ermittlungs- und Kommunikationsprotokoll für IoT-Szenarien (Internet of Things), z. B. das Einschalten und Deaktivieren von Lichtern und lesetemperaturen. Alternativen wie IoTivity Lite und IoTivity finden Sie auf der website iotivity.org .

Generiert ein -Objekt, das Informationen über die akzeptierte Verbindung mit der Sitzung und die Methode enthält, die den Sitzungsbeitritt abschließt.

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)

Parameter

uniqueName
String

Platform::String

winrt::hstring

Der eindeutige Busname.

sessionPort
UInt16

unsigned short

uint16_t

Der für die Verbindung verwendete Sitzungsport.

trafficType
AllJoynTrafficType

Die Art des Datenverkehrs, der über die Verbindung bereitgestellt wird.

proximity
Byte

byte

Gibt die Nähe zum Netzwerk an.

acceptSessionJoiner
IAllJoynAcceptSessionJoiner

Das IAllJoynAcceptSessionJoiner-Objekt , das zum Abschließen des Sitzungsjoins verwendet wird.

Attribute

Windows-Anforderungen

App-Funktionen
allJoyn

Gilt für: