> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# WdCopyErrorSeverity

> WdCopyErrorSeverity

# WdCopyErrorSeverity

指定复制错误或警告消息的严重性。

## 语法

```cpp theme={null}
enum class WdCopyErrorSeverity : uint32_t
{ 
    Warning = 0, 
    Error = 1 
};
```

### 常量

| 常量      | 值 | 说明                                               |
| ------- | - | ------------------------------------------------ |
| Warning | 0 | 表示存在潜在问题、但不会阻止复制操作继续进行的警告消息。                     |
| Error   | 1 | 表示复制操作失败的错误消息。提供 WdRemoteCopy 所返回 HRESULT 的额外信息。 |

## 备注

此枚举与 [WdCopyErrorCallback](/reference/remoting/callbacks/wdcopyerrorcallback) 一起使用，用于指示在 [WdRemoteCopy](/reference/remoting/functions/wdremotecopy) 操作期间报告的消息的严重性。

## 要求

| 要求          | 值                   |
| ----------- | ------------------- |
| **头文件**     | WdRemoteIteration.h |
| **库**       | wdremoteapi.lib     |
| **支持的操作系统** | Windows 11 及更高版本    |
| **支持的体系结构** | x64、ARM64           |

## 另请参阅

* [WdCopyErrorCallback](/reference/remoting/callbacks/wdcopyerrorcallback)
* [WdRemoteCopy](/reference/remoting/functions/wdremotecopy)
* [WdCopyStatusCallbacks](/reference/remoting/structs/wdcopystatuscallbacks)
* [XBOX PC 远程迭代 API](/reference/remoting/remoteiteration_members)


## Related topics

- [WdCopyErrorCallback](/zh-CN/reference/remoting/callbacks/wdcopyerrorcallback.md)
- [XBOX PC Remote Iteration API](/zh-CN/reference/remoting/remoteiteration_members.md)
- [WdCopyStatusCallbacks](/zh-CN/reference/remoting/structs/wdcopystatuscallbacks.md)
- [WdRemoteCopy](/zh-CN/reference/remoting/functions/wdremotecopy.md)
- [WdCopyDirection](/zh-CN/reference/remoting/enums/wdcopydirection.md)
