Cue.Play Method

Requests playback of a prepared or preparing Cue.

Namespace: Microsoft.Xna.Framework.Audio
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public void Play ()

Remarks

Calling Play when the Cue already is playing can result in an InvalidOperationException.

See Also

Tasks

Playing Sounds from an XACT Project
Pausing a Sound (XACT)

Concepts

Sounds Overview

Reference

Cue Class
Cue Members
Microsoft.Xna.Framework.Audio Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP