Created
February 2, 2018 00:51
-
-
Save yuka1984/ddcb97dee355ec8d3a0e00561c980c14 to your computer and use it in GitHub Desktop.
This file contains 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
[FunctionName(nameof(SaveRequestKeyActivity))] | |
public static async Task SaveRequestKeyActivity( | |
[ActivityTrigger] DurableActivityContext context, | |
[Table("KeySaveTable")] CloudTable table | |
) | |
{ | |
var key = context.GetInput<string>(); | |
var insertOperation = TableOperation.Insert(new TableEntity(key, context.InstanceId)); | |
await table.ExecuteAsync(insertOperation); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment