SoundPlayer.LoadTimeout Property
Definition
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.