This documentation is archived and is not being maintained.

SoundPlayer.LoadTimeout Property

Note: This property is new in the .NET Framework version 2.0.

Gets or sets the time, in milliseconds, in which the .wav file must load.

Namespace: System.Media
Assembly: System (in system.dll)

public int LoadTimeout { get; set; }
/** @property */
public int get_LoadTimeout ()

/** @property */
public void set_LoadTimeout (int value)

public function get LoadTimeout () : int

public function set LoadTimeout (value : int)

Property Value

The number of milliseconds to wait. The default is 10000 (10 seconds).

After this time has expired, the loading is canceled and a TimeoutException exception is thrown.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0