EnvironmentVariableService.SubscribeAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public System.Threading.Tasks.Task<IDisposable> SubscribeAsync (IObserver<System.Collections.Generic.IReadOnlyDictionary<string,string>> observer, System.Threading.CancellationToken cancellationToken);
abstract member SubscribeAsync : IObserver<System.Collections.Generic.IReadOnlyDictionary<string, string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<IDisposable>
override this.SubscribeAsync : IObserver<System.Collections.Generic.IReadOnlyDictionary<string, string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<IDisposable>
Public Function SubscribeAsync (observer As IObserver(Of IReadOnlyDictionary(Of String, String)), cancellationToken As CancellationToken) As Task(Of IDisposable)
Parameters
- observer
- IObserver<IReadOnlyDictionary<String,String>>
- cancellationToken
- CancellationToken