XboxLiveEndpointPairCreationBehaviors Enum
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.
Defines constants that specify creation behavior options for an XboxLiveEndpointPair creation operation.
Important
This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime.
This enumeration supports a bitwise combination of its member values.
public enum class XboxLiveEndpointPairCreationBehaviors
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Networking.XboxLive.XboxLiveSecureSocketsContract, 65536)]
enum class XboxLiveEndpointPairCreationBehaviors
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Networking.XboxLive.XboxLiveSecureSocketsContract), 65536)]
public enum XboxLiveEndpointPairCreationBehaviors
var value = Windows.Networking.XboxLive.XboxLiveEndpointPairCreationBehaviors.none
Public Enum XboxLiveEndpointPairCreationBehaviors
- Inheritance
-
XboxLiveEndpointPairCreationBehaviors
- Attributes
Windows requirements
Device family |
Xbox One System Apps Extensions for the UWP (introduced in 10.0.0.1)
Xbox Live Extension SDK (introduced in 10.0.10240.0) Xbox One Extensions for the UWP (introduced in 10.0.10240.0) Windows Desktop Extension SDK (introduced in 10.0.16299.0) |
API contract |
Windows.Networking.XboxLive.XboxLiveSecureSocketsContract (introduced in v1.0)
|
Fields
Name | Value | Description |
---|---|---|
None | 0 | Specifies the default operation. If XboxLiveEndpointPairTemplate.CreateEndpointPairAsync or XboxLiveEndpointPairTemplate.CreateEndpointPairForPortsAsync are called with a template that has already been used to establish an XboxLiveEndpointPair to the remote XboxLiveDeviceAddress, then the same XboxLiveEndpointPair is returned, and no XboxLiveEndpointPairTemplate.InboundEndpointPairCreated event is raised. |
ReevaluatePath | 1 | Specifies that, if XboxLiveEndpointPairTemplate.CreateEndpointPairAsync or XboxLiveEndpointPairTemplate.CreateEndpointPairForPortsAsync are called with a template that has already been used to establish an XboxLiveEndpointPair to the remote XboxLiveDeviceAddress, then the method re-evaluates all potential network paths according to the template's quality requirements. If the same network path is selected again, then the same XboxLiveEndpointPair is returned. If a new path is found, then the old XboxLiveEndpointPair is destroyed, and a new one returned. |