Closes the source.

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

Syntax

Visual Basic (Declaration)
Public 
Sub 
Close
C#
public 
void 
Close()
Visual C++
public:
void 
Close()
JavaScript
function 
close();

Remarks

The source can no longer be used after it has been closed. Close must be called once the application is finished using the object. If Close is not called, the underlying un-managed object will not be disposed, causing memory leak for the application.

See Also