Plays an audio file on a specified audio device.

Namespace:  Microsoft.Lync.Model.Device
Assembly:  Microsoft.Lync.Model(in Microsoft.Lync.Model.dll)

Syntax

C#
public 
IAsyncResult 
BeginPlayAudioFile(
	
string 
audioFileName,
	

AudioPlayBackModes 
playbackDevices,
	
bool 
loop,
	
AsyncCallback 
deviceManagerCallback,
	
Object 
state
)

Parameters

audioFileName
Type: System . . :: . . String
playbackDevices
Type: Microsoft.Lync.Model.Device . . :: . . AudioPlayBackModes
loop
Type: System . . :: . . Boolean
deviceManagerCallback
Type: System . . :: . . AsyncCallback
state
Type: System . . :: . . Object

See Also