Share via


EventGridSasBuilder(Uri, DateTimeOffset) Constructor

Definition

Initializes a new instance of the EventGridSasBuilder class.

public EventGridSasBuilder (Uri endpoint, DateTimeOffset expiresOn);
new Azure.Messaging.EventGrid.EventGridSasBuilder : Uri * DateTimeOffset -> Azure.Messaging.EventGrid.EventGridSasBuilder
Public Sub New (endpoint As Uri, expiresOn As DateTimeOffset)

Parameters

endpoint
Uri

The endpoint to generate a shared access signature for. For example, "https://TOPIC-NAME.REGION-NAME.eventgrid.azure.net/eventGrid/api/events".

expiresOn
DateTimeOffset

The time at which the shared access signature should expire.

Applies to