Creates a new instance of the WmaFileSink class.

Namespace:  Microsoft.Rtc.Collaboration.AudioVideo
Assembly:  Microsoft.Rtc.Collaboration(in Microsoft.Rtc.Collaboration.dll)

Syntax

Visual Basic (Declaration)
Public 
Sub 
New ( _
	
filename 
As 
String _
)
C#
public 
WmaFileSink(
	
string 
filename
)
Visual C++
public:
WmaFileSink(
	
String^ 
filename
)
JavaScript

Microsoft.Rtc.Collaboration.AudioVideo.WmaFileSink = 
function(
filename);

Parameters

filename
Type: String
The filename of the file to be recorded to.

Exceptions

Exception Condition
NotSupportedException Thrown when WMA support is not available.
ArgumentNullException Thrown when the filename argument is null.

See Also