You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The context.GetWebhookUrl() method only works in the context of the
Initialize() method. In order to properly handle this case, we must use
the direct IWebhookProvider made available in FunctionsV2+, and in
FunctionsV1 we have to live with the fact that we can't dynamically
determine the current webhook URI.
Copy file name to clipboardExpand all lines: src/WebJobs.Extensions.DurableTask/DurableTaskExtension.cs
+21-5Lines changed: 21 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -111,6 +111,7 @@ public DurableTaskExtension()
111
111
/// <param name="lifeCycleNotificationHelper">The lifecycle notification helper used for custom orchestration tracking.</param>
112
112
/// <param name="messageSerializerSettingsFactory">The factory used to create <see cref="JsonSerializerSettings"/> for message settings.</param>
113
113
/// <param name="errorSerializerSettingsFactory">The factory used to create <see cref="JsonSerializerSettings"/> for error settings.</param>
114
+
/// <param name="webhookProvider">Provides webhook urls for HTTP management APIs.</param>
114
115
/// <param name="telemetryActivator">The activator of DistributedTracing. .netstandard2.0 only.</param>
115
116
/// <param name="platformInformationService">The platform information provider to inspect the OS, app service plan, and other enviroment information.</param>
116
117
#pragma warning restore CS1572
@@ -128,10 +129,12 @@ public DurableTaskExtension(
128
129
#pragma warning restore CS0612// Type or member is obsolete
0 commit comments