IDistributedApplicationEventingSubscriber Interface
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.
Defines an interface for services that want to subscribe to events from IDistributedApplicationEventing. This allows a service to subscribe to BeforeStartEvent before the application actually starts.
public interface IDistributedApplicationEventingSubscriber
type IDistributedApplicationEventingSubscriber = interface
Public Interface IDistributedApplicationEventingSubscriber
Methods
| SubscribeAsync(IDistributedApplicationEventing, DistributedApplicationExecutionContext, CancellationToken) |
Callback during which the service should subscribe to global events from IDistributedApplicationEventing. |