GlobalBrokeredServiceContainer.ApplyChaosMonkeyConfigurationAsync Yöntem

Tanım

Dikkat

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

Bir Chaos maymun yapılandırmasının içeriğini yükler ve uygular.

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

Parametreler

chaosMonkeyConfigurationPath
String

Bir Chaos maymun yapılandırma dosyasının yolu.

cancellationToken
CancellationToken

Döndürülenler

Task

Zaman uyumsuz işlemi temsil eden bir görev.

Öznitelikler

Şunlara uygulanır