PerceptionPropertyChangeRequest.Status 属性

定义

在处理请求后设置请求的新状态。

public:
 property PerceptionFrameSourcePropertyChangeStatus Status { PerceptionFrameSourcePropertyChangeStatus get(); void set(PerceptionFrameSourcePropertyChangeStatus value); };
PerceptionFrameSourcePropertyChangeStatus Status();

void Status(PerceptionFrameSourcePropertyChangeStatus value);
/// [get: Windows.Foundation.Metadata.Deprecated("PerceptionPropertyChangeRequest may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("PerceptionPropertyChangeRequest may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
PerceptionFrameSourcePropertyChangeStatus Status();

void Status(PerceptionFrameSourcePropertyChangeStatus value);
public PerceptionFrameSourcePropertyChangeStatus Status { get; set; }
public PerceptionFrameSourcePropertyChangeStatus Status { [Windows.Foundation.Metadata.Deprecated("PerceptionPropertyChangeRequest may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")] get; [Windows.Foundation.Metadata.Deprecated("PerceptionPropertyChangeRequest may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")] set; }
var perceptionFrameSourcePropertyChangeStatus = perceptionPropertyChangeRequest.status;
perceptionPropertyChangeRequest.status = perceptionFrameSourcePropertyChangeStatus;
Public Property Status As PerceptionFrameSourcePropertyChangeStatus

属性值

请求的当前存储状态。

属性

注解

值应设置如下:

  • Windows::D evices::P erception::P erceptionFrameSourcePropertyChangeStatus::Accepted – 属性已更新为新值。
  • Windows::D evices::P erception::P erceptionFrameSourcePropertyChangeStatus::P ropertyNotSupported – 此 IPerceptionFrameProvider 不支持此属性,并且无法设置。
  • Windows::D evices::P erception::P erceptionFrameSourcePropertyChangeStatus::P ropertyReadOnly – 此 IPerceptionFrameProvider 支持属性,但无法更改。
  • Windows::D evices::P erception::P erceptionFrameSourcePropertyChangeStatus::ValueOutOfRange - 此 IPerceptionFrameProvider 支持属性,但提供的新值超出了接受值的范围。

适用于