SmoothStreamingMediaElement.LinearClipChanged Event
Occurs when a media stream transitions in and out of a linear clip between two linear ads.
Namespace: Microsoft.Web.Media.SmoothStreaming
Assembly: Microsoft.Web.Media.SmoothStreaming (in Microsoft.Web.Media.SmoothStreaming.dll)
Syntax
'Declaration
Public Event LinearClipChanged As EventHandler(Of ClipEventArgs)
'Usage
Dim instance As SmoothStreamingMediaElement
Dim handler As EventHandler(Of ClipEventArgs)
AddHandler instance.LinearClipChanged, handler
public event EventHandler<ClipEventArgs> LinearClipChanged
public:
event EventHandler<ClipEventArgs^>^ LinearClipChanged {
void add (EventHandler<ClipEventArgs^>^ value);
void remove (EventHandler<ClipEventArgs^>^ value);
}
member LinearClipChanged : <EventHandler<ClipEventArgs>,
ClipEventArgs>
JScript supports the use of events, but not the declaration of new ones.
Remarks
The context of the previous linear clip is passed through the ClipEventArgs class.
The LinearClipChanged event does not occur for non-linear clips.
Version Information
Silverlight
Supported in: 5