SmartGlassAuxiliaryStream.OnSend Event

Raised when an internal send operation on an auxiliay stream that results from one or more calls to the SmartGlassAuxiliaryStream.Write method completes.

Syntax

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

Remarks

The parameter of the event handler that is a SmartGlassAuxiliaryStreamWriteStats structure indicates the total number of bytes sent and the number of bytes queued and still waiting to be sent. You can use the number of queued bytes to keep network use high by only writing new data to the auxiliary stream when the number of queued bytes drops below some threshold.

Requirements

Namespace: Windows.Xbox.SmartGlass

Metadata: windows.winmd

See also

Reference

SmartGlassAuxiliaryStreamWriteStats

SmartGlassAuxiliaryStream.Write

SmartGlassAuxiliaryStream Class

SmartGlassAuxiliaryStream Members

Windows.Xbox.SmartGlass Namespace