> ## 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.

# PFEventPipelineAddUploadingEntity

> 将实体添加到现有管道。所有发出的事件都将链接到此实体。

将实体添加到现有管道。所有发出的事件都将链接到此实体。

## 语法

```cpp theme={null}
HRESULT PFEventPipelineAddUploadingEntity(  
    PFEventPipelineHandle eventPipelineHandle,  
    PFEntityHandle entityHandle  
)  
```

### 参数

**`eventPipelineHandle`**   PFEventPipelineHandle

要添加上传实体的现有 EventPipeline 句柄。

**`entityHandle`**   PFEntityHandle

其令牌将用于在后台发出 PlayFab 服务请求的实体。

### 返回值

类型：HRESULT

此 API 操作的结果代码。可能的值为 S\_OK、E\_PF\_NOT\_INITIALIZED 或 E\_FAIL。

## 要求

**头文件：** PFEventPipeline.h

## 另请参阅

[PFEventPipeline 成员](/services/playfab/api-references/c/pfeventpipeline/pfeventpipeline_members)


## Related topics

- [事件管道教程](/zh-CN/services/playfab/sdks/c/event-pipeline/eventpipeline-tutorial.md)
- [PlayFab Services SDK - 事件管道](/zh-CN/services/playfab/sdks/c/event-pipeline/eventpipeline.md)
- [Services C API overview - PFEventPipeline.h](/zh-CN/services/playfab/api-references/c/pfeventpipeline/pfeventpipeline_members.md)
- [PFEventPipelineRemoveUploadingEntity](/zh-CN/services/playfab/api-references/c/pfeventpipeline/functions/pfeventpipelineremoveuploadingentity.md)
- [PFEventPipelineCreateTelemetryPipelineHandleWithEntity](/zh-CN/services/playfab/api-references/c/pfeventpipeline/functions/pfeventpipelinecreatetelemetrypipelinehandlewithentity.md)
