Share via


Cue.Stop Method

Stops playback of a Cue.

Syntax

'Declaration
Public Sub Stop ( _
         options As AudioStopOptions _
)
public void Stop (
         AudioStopOptions options
)
public:
void Stop(
         AudioStopOptions options
)

Parameters

  • options
    Type: AudioStopOptions
    Enumerated value specifying how the sound should stop. If set to None, the sound will play any release phase or transition specified in the audio designer. If set to Immediate, the sound will stop immediately, ignoring any release phases or transitions.

Requirements

Namespace: Microsoft.Xna.Framework.Audio

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

See Also

Concepts

Sounds Overview

Reference

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

Platforms

Windows Phone