SmartGlassAuxiliaryStream.OnError Event

Raised when an error occurs while sending or receiving data on the auxiliary stream.

Syntax

public:
event TypedEventHandler<SmartGlassAuxiliaryStream^ , int32>^ OnError {
         EventRegistrationToken add (TypedEventHandler<SmartGlassAuxiliaryStream^ , int32>^ value);
         void remove (EventRegistrationToken token);
}  

Remarks

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.

Requirements

Namespace: Windows.Xbox.SmartGlass

Metadata: windows.winmd

See also

Reference

SmartGlassAuxiliaryStream.Close

SmartGlassAuxiliaryStream.Open

SmartGlassAuxiliaryStream Class

SmartGlassAuxiliaryStream Members

Windows.Xbox.SmartGlass Namespace