MediaStreamSourceClosedRequest Klasse

Definition

Stellt ein Objekt dar, das vom MediaStreamSource.closed-Ereignis zum Bereitstellen von Informationen für die Anwendung verwendet werden soll.

public ref class MediaStreamSourceClosedRequest sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class MediaStreamSourceClosedRequest final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class MediaStreamSourceClosedRequest
Public NotInheritable Class MediaStreamSourceClosedRequest
Vererbung
Object Platform::Object IInspectable MediaStreamSourceClosedRequest
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)

Hinweise

Die Reason-Eigenschaft stellt Informationen bereit, die den Grund für das Schließen der MediaStreamSource neu festlegen.

Ein Beispiel für die Verwendung von Media Stream Source in einer UWP-App finden Sie im MediaStreamSource-Beispiel .

Eigenschaften

Reason

Ruft den Grund ab, warum die Medienstreamquelle geschlossen wurde.

Gilt für:

Weitere Informationen