共用方式為


IDistributedApplicationEventing.Unsubscribe Method

Definition

Unsubscribe from an event.

public void Unsubscribe (Aspire.Hosting.Eventing.DistributedApplicationEventSubscription subscription);
abstract member Unsubscribe : Aspire.Hosting.Eventing.DistributedApplicationEventSubscription -> unit
Public Sub Unsubscribe (subscription As DistributedApplicationEventSubscription)

Parameters

subscription
DistributedApplicationEventSubscription

The specific subscription to unsubscribe.

Applies to