Dela via


MediaStreamSource.NotifyError(MediaStreamSourceErrorStatus) Method

Definition

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

public:
 virtual void NotifyError(MediaStreamSourceErrorStatus errorStatus) = NotifyError;
void NotifyError(MediaStreamSourceErrorStatus const& errorStatus);
public void NotifyError(MediaStreamSourceErrorStatus errorStatus);
function notifyError(errorStatus)
Public Sub NotifyError (errorStatus As MediaStreamSourceErrorStatus)

Parameters

errorStatus
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.

Applies to