Freigeben über


GlobalBrokeredServiceContainer.ApplyChaosMonkeyConfigurationAsync Methode

Definition

Achtung

This API is reserved for Visual Studio internal use and may change or be removed in a future version.

Lädt und wendet den Inhalt einer ChaosAffenkonfiguration an.

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

Parameter

chaosMonkeyConfigurationPath
String

Der Pfad zu einer ChaosAffen-Konfigurationsdatei.

cancellationToken
CancellationToken

Ein Abbruchtoken.

Gibt zurück

Eine Aufgabe, die den asynchronen Vorgang darstellt.

Attribute

Gilt für: