MediaStreamSourceClosedRequest 클래스

정의

MediaStreamSource.closed 이벤트에서 애플리케이션에 정보를 제공하는 데 사용할 개체를 나타냅니다.

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
상속
Object Platform::Object IInspectable MediaStreamSourceClosedRequest
특성

Windows 요구 사항

디바이스 패밀리
Windows 10 (10.0.10240.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v1.0에서 도입되었습니다.)

설명

Reason 속성은 MediaStreamSource가 닫힌 이유를 다시 채점하는 정보를 제공합니다.

UWP 앱에서 미디어 스트림 원본을 사용하는 예제는 MediaStreamSource 샘플을 참조하세요.

속성

Reason

미디어 스트림 원본이 닫힌 이유를 가져옵니다.

적용 대상

추가 정보