Raised when an internal send operation on an auxiliay stream that results from one or more calls to the SmartGlassAuxiliaryStream.Write method completes.
public:
event TypedEventHandler<SmartGlassAuxiliaryStream^ , SmartGlassAuxiliaryStreamWriteStats>^ OnSend {
EventRegistrationToken add (TypedEventHandler<SmartGlassAuxiliaryStream^ , SmartGlassAuxiliaryStreamWriteStats>^ value);
void remove (EventRegistrationToken token);
}
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.
Namespace: Windows.Xbox.SmartGlass
Metadata: windows.winmd
SmartGlassAuxiliaryStreamWriteStats
SmartGlassAuxiliaryStream.Write
SmartGlassAuxiliaryStream Class