次の方法で共有


IDistributedApplicationLifecycleHook Interface

Definition

Defines an interface for hooks that are executed during the lifecycle of a distributed application.

public interface IDistributedApplicationLifecycleHook
type IDistributedApplicationLifecycleHook = interface
Public Interface IDistributedApplicationLifecycleHook

Methods

AfterEndpointsAllocatedAsync(DistributedApplicationModel, CancellationToken)

Executes after the orchestrator allocates endpoints for resources in the application model.

AfterResourcesCreatedAsync(DistributedApplicationModel, CancellationToken)

Executes after the orchestrator has created the resources in the application model.

BeforeStartAsync(DistributedApplicationModel, CancellationToken)

Executes before the distributed application starts.

Applies to