コード例 #1
0
        private async Task DeleteDataFromStorage(string tenantId, string collectionId, string key)
        {
            string docId = DocumentIdHelper.GenerateId(collectionId, key);

            try
            {
                await this.client.DeleteDocumentAsync(this.DocumentDbDatabaseId, this.GetPcsCollectionId(tenantId), docId);
            }
            catch (Exception)
            {
            }
        }