IExtensionMetadataService.UnsubscribeFromMetadataEventsAsync Method

Definition

Unsubscribes from events for the given section name.

C++
public:
 System::Threading::Tasks::Task ^ UnsubscribeFromMetadataEventsAsync(System::String ^ sectionName, System::Threading::CancellationToken cancellationToken);

Parameters

sectionName
String

Name of the metadata section.

cancellationToken
CancellationToken

A cancellation token to cancel the in-progress invocation.

Returns

A Task representing the asynchronous operation.

Remarks

Subscribing to the same section again will cause the initial event to be raised again and only differences after that point will be sent.

Applies to

Produkt Versiounen
Visual Studio SDK 2019