GlobalBrokeredServiceContainer.ApplyChaosMonkeyConfigurationAsync Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przestroga
This API is reserved for Visual Studio internal use and may change or be removed in a future version.
Ładuje i stosuje zawartość konfiguracji małpy chaosu.
protected:
System::Threading::Tasks::Task ^ ApplyChaosMonkeyConfigurationAsync(System::String ^ chaosMonkeyConfigurationPath, System::Threading::CancellationToken cancellationToken);
[System.Obsolete("This API is reserved for Visual Studio internal use and may change or be removed in a future version.")]
protected System.Threading.Tasks.Task ApplyChaosMonkeyConfigurationAsync (string chaosMonkeyConfigurationPath, System.Threading.CancellationToken cancellationToken);
[<System.Obsolete("This API is reserved for Visual Studio internal use and may change or be removed in a future version.")>]
member this.ApplyChaosMonkeyConfigurationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected Function ApplyChaosMonkeyConfigurationAsync (chaosMonkeyConfigurationPath As String, cancellationToken As CancellationToken) As Task
Parametry
- chaosMonkeyConfigurationPath
- String
Ścieżka do pliku konfiguracji małpy chaosu.
- cancellationToken
- CancellationToken
Token anulowania.
Zwraca
Zadanie reprezentujące operację asynchronizową.
- Atrybuty