System.Windows.Media.MediaStreamSource.ErrorOccurred C# (CSharp) Méthode

ErrorOccurred() protected méthode

protected ErrorOccurred ( string errorDescription ) : void
errorDescription string
Résultat void
		protected void ErrorOccurred (string errorDescription)
		{
			// FIXME: wrong/overzealous validations wrt SL2 (see unit tests)
			if (closed || media_element == null || demuxer == IntPtr.Zero)
				throw new InvalidOperationException ();
			
			NativeMethods.media_element_report_error_occurred (media_element.native, errorDescription);
		}