MediaSourceAudioInputNodeCreationStatus Enum


Specifies the result status of a call to AudioGraph.CreateMediaSourceAudioInputNode.

public enum class MediaSourceAudioInputNodeCreationStatus
enum MediaSourceAudioInputNodeCreationStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
public enum MediaSourceAudioInputNodeCreationStatus
var value = Windows.Media.Audio.MediaSourceAudioInputNodeCreationStatus.success
Public Enum MediaSourceAudioInputNodeCreationStatus

Windows 10 requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)


FormatNotSupported 1

The MediaSourceAudioInputNode could not be created because the media content associated with the MediaSource is in a format that is not supported by the AudioGraph API.

NetworkError 2

The MediaSourceAudioInputNode could not be created because of a network error.

Success 0

The MediaSourceAudioInputNode was created successfully.

UnknownFailure 3

The MediaSourceAudioInputNode could not be created because of an unknown failure.


AudioGraph.CreateMediaSourceAudioInputNode returns an IAsyncOperation object that returns a CreateMediaSourceAudioInputNodeResult on completion. This object exposes a Status property, containing a value from this enumeration, that indicates either that the operation was successful or the reason why the operation failed. The Node property provides a reference to the created MediaSourceAudioInputNode on success.

Applies to