取消訂閱配對資源
Unsubscribe from match resource notifications.
Error codes
This operation may return the following PlayFab errors:
| Error | Code |
|---|---|
| MatchmakingAttributeInvalid | 2046 |
| MatchmakingBadRequest | 2059 |
| MatchmakingEntityInvalid | 2001 |
| MatchmakingTicketNotFound | 2018 |
| MatchmakingUnauthorized | 2056 |
| PubSubConnectionHandleInvalid | 2503 |
| PubSubConnectionNotFoundForEntity | 2502 |
授權
This API requires an Entity Session Token, available from the Entity GetEntityToken method.
主體
Unsubscribe from a Match resource's notifications. For MatchInvite, players are expected to unsubscribe once they can no longer accept invites. For MatchTicketStatusChange, players are expected to unsusbcribe once the ticket has reached a canceled or matched state.
Unsubscribe from a Match resource's notifications. For MatchInvite, players are expected to unsubscribe once they can no longer accept invites. For MatchTicketStatusChange, players are expected to unsusbcribe once the ticket has reached a canceled or matched state.
The entity performing the unsubscription. The entity must be authorized to use this connectionHandle.
Opaque string, given to a client upon creating a connection with PubSub.
The name of the resource to unsubscribe from. It follows the format {queueName}|{ticketId} for MatchTicketStatusChange. For MatchInvite, ResourceId is @me.
Version number for the unsubscription from this resource.
Type of the subscription to be canceled.
The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
相關主題
訂閱配對資源取消訂閱大廳資源訂閱資源以接收即時訊息SubscriptionChangeMessage 即時訊息類型ReceiveSubscriptionChangeMessage SignalR 用戶端方法