CreateMediaRendererOperation class
[The feature associated with this page, Windows Media Streaming API, is a legacy feature. It has been superseded by Media Casting. Media Casting has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Media Casting instead of Windows Media Streaming API, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
Registers an event handler that is invoked when the asynchronous operation started by CreateMediaRendererAsync or CreateMediaRendererFromBasicDeviceAsync completes, and provides a method that returns the results of the operation.
CreateMediaRendererOperation has these types of members:
Methods
The CreateMediaRendererOperation class has these methods.
Method | Description |
---|---|
GetResults | Gets the results of the asynchronous operation. |
Properties
The CreateMediaRendererOperation class has these properties.
Property | Access type | Description |
---|---|---|
Completed |
Read/write |
Gets or sets an event handler that is invoked when the asynchronous operation started by CreateMediaRendererAsync or CreateMediaRendererFromBasicDeviceAsync is completed. |