Επεξεργασία

Κοινή χρήση μέσω


SoundPlayer.LoadTimeout Property

Definition

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