Share via


MidiSynthesizer.CreateAsync Method

Definition

Overloads

CreateAsync()

Creates a new instance of the Microsoft MIDI synthesizer that uses the system's default audio output device.

CreateAsync(DeviceInformation)

Creates a new instance of the Microsoft MIDI synthesizer with a specified audio output device.

CreateAsync()

Creates a new instance of the Microsoft MIDI synthesizer that uses the system's default audio output device.

public:
 static IAsyncOperation<MidiSynthesizer ^> ^ CreateAsync();
/// [Windows.Foundation.Metadata.Overload("CreateAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<MidiSynthesizer> CreateAsync();
[Windows.Foundation.Metadata.Overload("CreateAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<MidiSynthesizer> CreateAsync();
function createAsync()
Public Shared Function CreateAsync () As IAsyncOperation(Of MidiSynthesizer)

Returns

An instance of the Windows MIDI synthesizer.

Attributes

See also

Applies to

CreateAsync(DeviceInformation)

Creates a new instance of the Microsoft MIDI synthesizer with a specified audio output device.

public:
 static IAsyncOperation<MidiSynthesizer ^> ^ CreateAsync(DeviceInformation ^ audioDevice);
/// [Windows.Foundation.Metadata.Overload("CreateFromAudioDeviceAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<MidiSynthesizer> CreateAsync(DeviceInformation const& audioDevice);
[Windows.Foundation.Metadata.Overload("CreateFromAudioDeviceAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<MidiSynthesizer> CreateAsync(DeviceInformation audioDevice);
function createAsync(audioDevice)
Public Shared Function CreateAsync (audioDevice As DeviceInformation) As IAsyncOperation(Of MidiSynthesizer)

Parameters

audioDevice
DeviceInformation

The audio output device.

Returns

An instance of the Microsoft MIDI synthesizer.

Attributes

See also

Applies to