Partilhar via


GlobalBrokeredServiceContainer.ApplyChaosMonkeyConfigurationAsync Método

Definição

Cuidado

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

Carrega e aplica o conteúdo de uma configuração de macaco de caos.

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

Parâmetros

chaosMonkeyConfigurationPath
String

O caminho para um arquivo de configuração do chaos monkey.

cancellationToken
CancellationToken

Um token de cancelamento.

Retornos

Uma tarefa que representa a operação assíncrona.

Atributos

Aplica-se a