Windows Dev Center

MediaStreamSource.NotifyError | notifyError method

Notifies the MediaStreamSource that an error has occurred which is preventing the application from continuing to deliver data to the MediaStreamSource.

Syntax


Public Sub NotifyError(
  errorStatus As MediaStreamSourceErrorStatus 
)

Parameters

errorStatus

Type: MediaStreamSourceErrorStatus

The cause of the error.

Remarks

The application should invoke this method when it has encountered an unrecoverable error, for example, loss of the network connection to a media server or an out-of-memory condition.

The MediaStreamSource will raise the Closed event when this method is invoked.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Media.Core
Windows::Media::Core [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Media.Core
Windows::Media::Core [C++]

Metadata

Windows.winmd

See also

MediaStreamSource

 

 

Show:
© 2015 Microsoft