Recorder.Pause 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.
Pauses the recorder.
public:
void Pause();
public void Pause ();
member this.Pause : unit -> unit
Public Sub Pause ()
Exceptions
Thrown when the recorder's State is not Started.
Examples
The following example starts, pause, restarts (by calling Start) and stops the Recorder.
C# Starting, pausing, restarting and stopping a Recorder.
recorder.AttachFlow(audioVideoFlow);
recorder.SetSink(sink);
recorder.Start();
recorder.Pause();
recorder.Start();
recorder.Stop();
Remarks
Pause can be called only on recorder whose state is Started. To resume recording call Recorder.Start.