Поделиться через


MediaTransportControlsThumbnailRequestedEventArgs Класс

Определение

Предоставляет данные для события MediaTransportControls.ThumbnailRequested.

public ref class MediaTransportControlsThumbnailRequestedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class MediaTransportControlsThumbnailRequestedEventArgs final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class MediaTransportControlsThumbnailRequestedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class MediaTransportControlsThumbnailRequestedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class MediaTransportControlsThumbnailRequestedEventArgs
Public NotInheritable Class MediaTransportControlsThumbnailRequestedEventArgs
Наследование
Object Platform::Object IInspectable MediaTransportControlsThumbnailRequestedEventArgs
Атрибуты

Требования к Windows

Семейство устройств
Windows 10 Anniversary Edition (появилось в 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (появилось в v3.0)

Методы

GetDeferral()

Возвращает отсрочку, которую можно использовать для отсрочки завершения события ThumbnailRequested во время создания эскиза.

SetThumbnailImage(IInputStream)

Задает источник эскиза.

Применяется к