May 11, 2014
Assembly: System.Windows (in System.Windows.dll)
This method should only be called if the MediaStreamSource is below the desired buffering level. This method can be called multiple times between GetSampleAsync and ReportGetSampleCompleted; doing so updates the BufferingProgress property on the MediaElement. When buffering is completed, developers must call ReportGetSampleCompleted with the next sample.
StateTransitions: Calling this method allows the MediaElement to transition to the Buffering state, if it is in the Playing state, and will pause rendering. The behavior of the MediaElement is not defined if there are no outstanding GetSampleAsync requests when this method is called.
Windows PhoneOn Windows Phone, the transition to Buffering may not occur immediately if the media pipeline has a sufficient quantity of samples still available to it. Developers do not need to report 100% progress prior to exiting buffering, as completing a sample does this automatically.