MediaElement.PartialMediaFailureDetected MediaElement.PartialMediaFailureDetected MediaElement.PartialMediaFailureDetected MediaElement.PartialMediaFailureDetected Event

Definition

Occurs when one or more streams fails to decode in content containing multiple streams.

public : event TypedEventHandler<MediaElement, PartialMediaFailureDetectedEventArgs> PartialMediaFailureDetected
// Register
event_token PartialMediaFailureDetected(TypedEventHandler<MediaElement, PartialMediaFailureDetectedEventArgs> const& handler) const;

// Revoke with event_token
void PartialMediaFailureDetected(event_token const& cookie) const;

// Revoke with event_revoker
PartialMediaFailureDetected_revoker PartialMediaFailureDetected(auto_revoke_t, TypedEventHandler<MediaElement, PartialMediaFailureDetectedEventArgs> const& handler) const;
public event TypedEventHandler<MediaElement, PartialMediaFailureDetectedEventArgs> PartialMediaFailureDetected
Public Event PartialMediaFailureDetected As TypedEventHandler (Of MediaElement, PartialMediaFailureDetectedEventArgs)

Remarks

If at least one stream in the content is successfully decoded, the decoded media is played and this event is raised. If the stream that fails to decode is the only stream contained in the content, playback fails and the MediaFailed event is raised.