public async void OptOut() { telemetryRepository.Data.IsAnonymousDataShared = false; telemetryRepository.Save(); DisableAllEvents(); await telemetryClient.OptOut(GetPayload(telemetryRepository.Data)); }
public async void OptOut() { telemetryRepository.Data.IsAnonymousDataShared = false; telemetryRepository.Save(); DisableAllEvents(); await telemetryClient.OptOut(GetPayload(telemetryRepository.Data)); }