MediaSource.Close Method
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.
Closes the source.
public:
void Close();
public void Close ();
member this.Close : unit -> unit
Public Sub Close ()
Remarks
The source can no longer be used after it has been closed. This method must be called after the application is finished using the object. If Close() is not called, the underlying unmanaged object will not be disposed, causing a memory leak for the application.