public void ValidateExceptionOperation() { ManagementTestClient client = InstrumentClient(new ManagementTestClient()); TestResource rgOp = client.GetTestResource(); Assert.ThrowsAsync(typeof(ArgumentException), async() => await rgOp.GetLroExceptionAsync(WaitUntil.Completed)); }