Raised when an error occurs while sending or receiving data on the auxiliary stream.
public:
event TypedEventHandler<SmartGlassAuxiliaryStream^ , int32>^ OnError {
EventRegistrationToken add (TypedEventHandler<SmartGlassAuxiliaryStream^ , int32>^ value);
void remove (EventRegistrationToken token);
}
Before this event is raised, the stream is completely reset to its default state, like the reset that occurs you call the SmartGlassAuxiliaryStream.Close method. You must call the SmartGlassAuxiliaryStream.Open method to re-establish the connection to the SmartGlass-enabled device.
Namespace: Windows.Xbox.SmartGlass
Metadata: windows.winmd
SmartGlassAuxiliaryStream.Close
SmartGlassAuxiliaryStream.Open
SmartGlassAuxiliaryStream Class