Partager via


GlobalBrokeredServiceContainer.ApplyChaosMonkeyConfigurationAsync Méthode

Définition

Attention

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

Charge et applique le contenu d’une configuration chaos monkey.

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

Paramètres

chaosMonkeyConfigurationPath
String

Chemin d’accès à un fichier de configuration chaos monkey.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Tâche qui représente l’opération asynchrone.

Attributs

S’applique à