Example #1
0
        public void ResetDefaultEndpoints()
        {
            try
            {
                EnsurePolicyConfig();

                _sharedPolicyConfig.ClearAllPersistedApplicationDefaultEndpoints();
            }
            catch (Exception ex)
            {
                Console.WriteLine($"{ex}");
            }
        }
 public void ClearDefaultEndPoints()
 {
     EnsurePolicyConfig();
     Marshal.ThrowExceptionForHR(_sharedPolicyConfig.ClearAllPersistedApplicationDefaultEndpoints());
 }