共用方式為


ISettingsManager3.RequestChangeEventsAsync(String, CancellationToken) Method

Definition

Enables change events to be raised for settings matching monikerPattern (case insensitive comparison).

public:
 System::Threading::Tasks::ValueTask RequestChangeEventsAsync(System::String ^ monikerPattern, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.ValueTask RequestChangeEventsAsync (string monikerPattern, System.Threading.CancellationToken cancellationToken);
abstract member RequestChangeEventsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask
Public Function RequestChangeEventsAsync (monikerPattern As String, cancellationToken As CancellationToken) As ValueTask

Parameters

monikerPattern
String

A setting name, optionally ending in "*" to indicate that it's a prefix.

cancellationToken
CancellationToken

A cancellation token.

Returns

An async task.

Applies to