Break Schedule. Insert Midroll Break(MediaBreak) Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public: virtual void InsertMidrollBreak(MediaBreak ^ mediaBreak) = InsertMidrollBreak;
void InsertMidrollBreak(MediaBreak const& mediaBreak);
public void InsertMidrollBreak(MediaBreak mediaBreak);
Public Sub InsertMidrollBreak (mediaBreak As MediaBreak)
Remove a midroll break by calling RemoveMidrollBreak.
Access the current list of midroll media breaks in the schedule with the MidrollBreaks property.
If you want a MediaBreak to be played before the associated MediaPlaybackItem plays, assign it to the PrerollBreak property. If you want a MediaBreak to be played after the associated MediaPlaybackItem plays, assign it to the PostrollBreak property.