Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

SoundPlayer.LoadTimeout Property

Definition

Namespace:
System.Media
Assembly:
System.Windows.Extensions.dll
Assembly:
System.dll
Package:
System.Windows.Extensions v11.0.0-preview.5.26302.115
Source:
SoundPlayer.cs
Source:
SoundPlayer.cs
Source:
SoundPlayer.cs
Source:
SoundPlayer.cs
Source:
SoundPlayer.cs
Source:
SoundPlayer.cs
Source:
SoundPlayer.cs
Source:
SoundPlayer.cs

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.

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

public:
 property int LoadTimeout { int get(); void set(int value); };
public int LoadTimeout { get; set; }
member this.LoadTimeout : int with get, set
Public Property LoadTimeout As Integer

Property Value

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

Remarks

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

Applies to

See also


Feedback

Was this page helpful?