Share via


DistributedApplicationEventSubscription Class

Definition

Represents a subscription to an event that is published during the lifecycle of the AppHost.

public class DistributedApplicationEventSubscription
type DistributedApplicationEventSubscription = class
Public Class DistributedApplicationEventSubscription
Inheritance
DistributedApplicationEventSubscription
Derived

Constructors

DistributedApplicationEventSubscription(Func<IDistributedApplicationEvent,CancellationToken,Task>)

Represents a subscription to an event that is published during the lifecycle of the AppHost.

Properties

Callback

The callback to be executed when the event is published.

Applies to