Player.Start Method
Definition
Important
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.
Starts and resume playing the attached media source.
public:
void Start();
public void Start ();
member this.Start : unit -> unit
Public Sub Start ()
Exceptions
Thrown when the operation is invalid because Player is attached to more than one AudioVideoFlow and is using an unbuffered media source.
Thrown when the operation failed, such as for an overloaded system.
Examples
The following example starts a player.
C# Starting a Player.
player.SetSource(source);
player.AttachFlow(audioVideoFlow);
player.Start();