MediaStreamSource.NotifyError(MediaStreamSourceErrorStatus) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.