Edit

PFDataDeleteFilesAsync

Important

XBOX Docs are now on docs.xbox.com! This page is kept as an archive and is no longer being updated. Visit our documentation on docs.xbox.com for the latest information and updates.

Visit the latest docs on docs.xbox.com

Delete files on an entity's profile.

Syntax

HRESULT PFDataDeleteFilesAsync(  
    PFEntityHandle entityHandle,  
    const PFDataDeleteFilesRequest* request,  
    XAsyncBlock* async  
)  

Parameters

entityHandle   PFEntityHandle

PFEntityHandle to use for authentication.

request   PFDataDeleteFilesRequest*

Populated request object.

async   XAsyncBlock*
Inout

XAsyncBlock for the async operation.

Return value

Type: HRESULT

Result code for this API operation.

Remarks

This API is available on all platforms. Deletes the requested files from the entity's profile. See also FileAbortFileUploadsAsync, FileFinalizeFileUploadsAsync, FileGetFilesAsync, FileInitiateFileUploadsAsync. When the asynchronous task is complete, call PFDataDeleteFilesGetResultSize and PFDataDeleteFilesGetResult to get the result.

Requirements

Header: PFData.h

See also

PFData members