Event raised when the SecureDeviceAssociation’s state changes.
This event is raised when the Xbox Secure Device Association state value, as reported by its State property, has changed. The previous state can be retrieved by the event handler via the OldState property of the object passed in by the eventArgs parameter. The new state can be retrieved by the NewState property of the eventArgs object, or by the State property of the SecureDeviceAssociation object itself.
public:
event TypedEventHandler<SecureDeviceAssociation^ , SecureDeviceAssociationStateChangedEventArgs^ >^ StateChanged {
EventRegistrationToken add (TypedEventHandler<SecureDeviceAssociation^ , SecureDeviceAssociationStateChangedEventArgs^ >^ value);
void remove (EventRegistrationToken token);
}
Namespace: Windows.Xbox.Networking
Metadata: windows.winmd