SoundPlayer.LoadTimeout Property

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)

Not applicable.

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 Server 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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: