MapDurableSignal(IEndpointRouteBuilder, DurableSignal<T>)
staticextension
public static IEndpointConventionBuilder MapDurableSignal<T>(this IEndpointRouteBuilder endpoints, DurableSignal<T> signal) Maps
POST {group}/operations/{operationId}/signals/{name}, in a group which DurableHttpEndpointRouteBuilderExtensions configures, which delivers signal with the JSON request body as its value to an operation's work. Parameters
endpointsIEndpointRouteBuilder- The group.
signalDurableSignal<T>- The signal, whose name completes the route.
Returns
A builder which configures the endpoint.
Exceptions
System.ArgumentException- The signal's name has characters other than URL-unreserved ones.
