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 Silverlight for Windows PhoneActualSeekPositionGets or sets the ActualSeekPosition property.
Public propertySupported by Silverlight for Windows PhoneSuccessGets or sets the Success property to indicate that the seek operation is successful.
Top

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

For more information, see the example in the topic Events (IIS Smooth Streaming).

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: 4

Silverlight for Windows Phone

Supported in: 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: