public void Dispose() { File.Delete(tempEndpointCutomizationFile.FullName); RegionEndpointProviderV2.RegionEndpoint.UnloadEndpointDefinitions(); }