Share via


ReplaceDevicePropertiesStatus Enum

Definition

Specifies the status associated with a call to ReplaceDeviceProperties.

public enum class ReplaceDevicePropertiesStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 1245184)]
/// [Windows.Foundation.Metadata.Experimental]
enum class ReplaceDevicePropertiesStatus
/// [Windows.Foundation.Metadata.Experimental]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 1310720)]
enum class ReplaceDevicePropertiesStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 1245184)]
[Windows.Foundation.Metadata.Experimental]
public enum ReplaceDevicePropertiesStatus
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 1310720)]
public enum ReplaceDevicePropertiesStatus
var value = Windows.Devices.Printers.ReplaceDevicePropertiesStatus.succeeded
Public Enum ReplaceDevicePropertiesStatus
Inheritance
ReplaceDevicePropertiesStatus
Attributes

Windows requirements

Requirements Description
Device family
Windows 11, version 24H2 (introduced in 10.0.26100.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v19.0)

Fields

Name Value Description
Succeeded 0

The call succeeded.

AccessDenied 1

Access to the device properties was denied.

OtherFailure 2

Another failure occurred. More information about the failure may be obtained by checking the ExtendedError property.

Applies to