Export (0) Print
Expand All

SeekCompletedEventArgs Class

Class used to pass event argument information when a seek event completes.

System.Object
  System.EventArgs
    Microsoft.Web.Media.SmoothStreaming.SeekCompletedEventArgs

Namespace:  Microsoft.Web.Media.SmoothStreaming
Assembly:  Microsoft.Web.Media.SmoothStreaming (in Microsoft.Web.Media.SmoothStreaming.dll)


public class SeekCompletedEventArgs : EventArgs

The SeekCompletedEventArgs type exposes the following members.

  NameDescription
Public propertySupported by Windows PhoneActualSeekPositionGets or sets the ActualSeekPosition property.
Public propertySupported by Windows PhoneSuccessGets or sets the Success property to indicate that the seek operation is successful.
Top

  NameDescription
Public methodSupported by Windows PhoneEquals (Inherited from Object.)
Protected methodSupported by Windows PhoneFinalize (Inherited from Object.)
Public methodSupported by Windows PhoneGetHashCode (Inherited from Object.)
Public methodSupported by Windows PhoneGetType (Inherited from Object.)
Protected methodSupported by Windows PhoneMemberwiseClone (Inherited from Object.)
Public methodSupported by Windows PhoneToString (Inherited from Object.)
Top

For more information, see the example in the topic Events.

The following code uses the SeekCompletedEventArgs parameter to find the position of the player after a seek operation.

    void SmoothPlayer_SeekCompleted(object sender, SeekCompletedEventArgs e)
    {
        OutputText.Text = "  Seek complete at: " + ((SmoothStreamingMediaElement)sender).Position;
    }

Silverlight

Supported in: 5

Windows Phone

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft