GlobalBrokeredServiceContainer.ApplyChaosMonkeyConfigurationAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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(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
參數
- chaosMonkeyConfigurationPath
- String
混亂的宏組態檔路徑。
- cancellationToken
- CancellationToken
取消語彙基元。
傳回
表示異步作業的工作。
- 屬性