共用方式為


LogSource Enumeration

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Indicates the reason that a media log was generated.

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

Syntax

'Declaration
Public Enumeration LogSource
public enum LogSource

Members

Member name Description
Supported by Silverlight for Windows Phone RequestLog The RequestLog method was called.
Supported by Silverlight for Windows Phone Stop The media stopped.
Supported by Silverlight for Windows Phone Seek A seek operation occurred on the media; that is, playback was moved forward or backward.
Supported by Silverlight for Windows Phone Pause The media paused.
Supported by Silverlight for Windows Phone SourceChanged The source of the media changed.
Supported by Silverlight for Windows Phone EndOfStream The media reached the end of its stream.
Supported by Silverlight for Windows Phone MediaElementShutdown The runtime shut down.
Supported by Silverlight for Windows Phone RuntimeShutdown The runtime shut down.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.