Megosztás a következőn keresztül:


WebPubSubEventHandler(String) Constructor

Definition

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.

Applies to