WebPubSubEventHandler(String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of WebPubSubEventHandler.
public WebPubSubEventHandler (string urlTemplate);
new Azure.ResourceManager.WebPubSub.Models.WebPubSubEventHandler : string -> Azure.ResourceManager.WebPubSub.Models.WebPubSubEventHandler
Public Sub New (urlTemplate As String)
Parameters
- urlTemplate
- String
Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in.
For example, UrlTemplate can be http://example.com/api/{hub}/{event}
. The host part can't contains parameters.
Exceptions
urlTemplate
is null.