DistributedApplicationResourceEventSubscription Class
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.
Represents a subscription to an event that is published during the lifecycle of the AppHost for a specific resource.
public class DistributedApplicationResourceEventSubscription : Aspire.Hosting.Eventing.DistributedApplicationEventSubscription
type DistributedApplicationResourceEventSubscription = class
inherit DistributedApplicationEventSubscription
Public Class DistributedApplicationResourceEventSubscription
Inherits DistributedApplicationEventSubscription
- Inheritance
Constructors
DistributedApplicationResourceEventSubscription(IResource, Func<IDistributedApplicationResourceEvent,CancellationToken,Task>) |
Represents a subscription to an event that is published during the lifecycle of the AppHost for a specific resource. |
Properties
Callback |
The callback to be executed when the event is published. (Inherited from DistributedApplicationEventSubscription) |
Resource |
Resource associated with this subscription. |