Compartilhar via


XblMatchmakingDeleteMatchTicketAsync

Deletes a the match ticket on the server.

Syntax

HRESULT XblMatchmakingDeleteMatchTicketAsync(  
         XblContextHandle xboxLiveContext,  
         const char* serviceConfigurationId,  
         const char* hopperName,  
         const char* ticketId,  
         XAsyncBlock* asyncBlock  
)  

Parameters

xboxLiveContext   _In_
Type: XblContextHandle

Xbox live context for the local user.

serviceConfigurationId   _In_
Type: char*

The Service Configuration ID (SCID) for the title. The SCID is considered case sensitive so paste it directly from the Partner Center.

hopperName   _In_
Type: char*

The name of the hopper where the match ticket is located.

ticketId   _In_
Type: char*

The id of the ticket to delete on the server.

asyncBlock   _In_
Type: XAsyncBlock*

The AsyncBlock for this operation.

Return value

Type: HRESULT

HRESULT return code for this API operation.

REST Call

Calls V103 DELETE /serviceconfigs/{serviceConfigId}/hoppers/{hopperName}/tickets/{ticketId}

Requirements

Header: matchmaking_c.h

Library: Microsoft.Xbox.Services.14x.GDK.C.lib

See also

matchmaking_c