Created
June 12, 2018 10:54
-
-
Save wsrzx/26357f33c9886460f8286f13c28389db to your computer and use it in GitHub Desktop.
Atualização de tags no Azure Notification Hubs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.notificationhubs.partialupdateoperation?view=azure-dotnet | |
var partialUpdates = new List<PartialUpdateOperation>(); | |
PartialUpdateOperation replaceTag = new PartialUpdateOperation(); | |
replaceTag.Operation = UpdateOperationType.Replace; | |
replaceTag.Path = "/tags/coxinha"; | |
replaceTag.Value = "kibe"; | |
partialUpdates.Add(replaceTag); | |
notificationHubClient.PatchInstallation(installationId, partialUpdates); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment