Dela via


MediaCaptureFailedEventArgs.Code Property

Definition

The error code of the error that caused the event.

public:
 property unsigned int Code { unsigned int get(); };
uint32_t Code();
public uint Code { get; }
var uInt32 = mediaCaptureFailedEventArgs.code;
Public ReadOnly Property Code As UInteger

Property Value

UInt32

unsigned int

uint32_t

The error code.

Windows requirements

App capabilities
backgroundMediaRecording microphone webcam

Applies to