docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method DeleteAsync

    DeleteAsync(string, DeleteOptions)

    Removes one key at a time, with optional write lock validation. If the given key doesn't exist, there is no feedback in place to inform a developer about it. If a write lock is provided and it does not match with the existing write lock, will throw a conflict exception. There is no client validation on the arguments for this method. Throws a CloudSaveException with a reason code and explanation of what happened.

    Declaration
    Task DeleteAsync(string key, DeleteOptions deleteOptions = null)
    Parameters
    Type Name Description
    string key

    The key to be removed from the server

    DeleteOptions deleteOptions

    The optional options object for specifying the write lock to check conflict in the server

    Returns
    Type Description
    Task
    Exceptions
    Type Condition
    CloudSaveException

    Thrown if request is unsuccessful.

    CloudSaveValidationException

    Thrown if the service returned validation error.

    CloudSaveRateLimitedException

    Thrown if the service returned rate limited error.

    CloudSaveConflictException

    Thrown if the service returned write lock conflict error.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023