MediaElement.RequestLog Method

July 28, 2014

Sends a request to generate a log which will then be raised through the LogReady event.

Namespace:  System.Windows.Controls
Assembly:  System.Windows (in System.Windows.dll)

public void RequestLog()

NoteNote:

This method only works with progressive downloads.

Request log sends a request to generate a log which will then be raised through the LogReady event. Logs generated by the RequestLog method and raised through the LogReady method are never automatically sent to the server. These logs must be handled by application developers.

Below summarizes what this method does depending on the current state of the media:

  • Closed: No operation.

  • Opening: Queues the request and raises the log when the MediaOpened event is raised.

  • Individualizing: Generates the log.

  • AcquiringLicense: Generates the log.

  • Buffering: Generates the log.

  • Playing: Generates the log.

  • Paused: Generates the log.

  • Stopped: Generates the log.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft