Share via


XboxLiveEndpointPairStateChangedEventArgs Class

Definition

An XboxLiveEndpointPairStateChangedEventArgs object encapsulates details about an XboxLiveEndpointPair.StateChanged event.

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.

public ref class XboxLiveEndpointPairStateChangedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Networking.XboxLive.XboxLiveSecureSocketsContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class XboxLiveEndpointPairStateChangedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Networking.XboxLive.XboxLiveSecureSocketsContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class XboxLiveEndpointPairStateChangedEventArgs
Public NotInheritable Class XboxLiveEndpointPairStateChangedEventArgs
Inheritance
Object Platform::Object IInspectable XboxLiveEndpointPairStateChangedEventArgs
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)

Remarks

You don't instantiate this class using a constructor. Instead, an instance is created and passed to your XboxLiveEndpointPair.StateChanged event handler when the event is raised.

Properties

NewState

Gets an XboxLiveEndpointPairState describing the state of the endpoint pair after the state change.

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.

OldState

Gets a XboxLiveEndpointPairState representing the state of the endpoint pair before it changed.

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.

Applies to